Campaign Custom Endpoints (iOS)

This article describes how to use campaign custom endpoints using the iOS SDK.

Send More Variables to Campaign Custom Endpoints

When using Campaign custom endpoints, you may want to send additional data to the custom endpoint.

Create a delegate for MRCampaignManager that implements campaignManager:userInfoForCampaign: to define variables that will be put into parameters and sent to the custom endpoint.

    - (NSDictionary *)campaignManager:(MRCampaignManager *)manager userInfoForCampaign:(NSString *)campaignIdentifier {
    return @{"custom_field_1": "custom_data"};