Search...
Menu

Customized Segment

Customized Segment

💡Tips:

It is recommended to invoke the corresponding methods before initializing MCSDK to pass in custom rule parameters.

objc Copy
 // Set channel
    [MCAPI sharedInstance].channel = @"channel";
    // Set sub-channel
    [MCAPI sharedInstance].subChannel = @"subChannel";

    // Custom rules
    [MCAPI sharedInstance].customData = @{
        kMCCustomDataUserIDKey:@"test_custom_user_id"
    };
Previous
Advanced
Next
SDK Preset Strategy
Last modified: 2025-06-26Powered by