Search...
Menu

Customized Segment

💡Tips

  • All custom parameter settings must be completed before SDK initialization

UserId

csharp Copy
// Set user identifier
McSdk.SetUserId("test_user_id");

Channel

csharp Copy
// Set main channel
McSdk.SetChannel("test_channel");

// Set sub-channel
McSdk.SetSubChannel("test_sub_channel");

Custom Rules

csharp Copy
McSdk.SetCustomRule(new Dictionary<string, string> { { "test_rule_key", "test_rule_value" } });

Previous
Advanced
Next
SDK Preset Strategy
Last modified: 2025-04-25Powered by