You can integrate mParticle iOS SDK with CleverTap to control the flow of information from the app SDK. You can send the following information to the CleverTap dashboard:
- Push User Profiles
- Push Events
- Push Notifications
The following are the prerequisites for performing this integration:
- A CleverTap account
- An mParticle account
- A functional iOS app
For CleverTap mParticle iOS integration, the following are the major steps:
- Add Event Output.
- Connect the Input Feed and Output Event on the mParticle dashboard.
- Install SDK in the Native application.
- Initialize the mParticle client.
To add an event output:
- Navigate to Setup > Output from the mParticle dashboard.
- Click Add Event Output_ and select _CleverTap from the dropdown list.
After selecting, CleverTap Default Group is added under the Events tab of the Outputs page.
- Click the icon to add event configuration. The Output: Event Configuration popup opens.
- Enter the following details and click Save to save the details:
|Configuration Name||Enter the name to identify your configuration uniquely.|
|Use same settings for Development & Production||Select this option if you want to apply the same configuration settings for your production and development projects.|
~ OR ~
Select PROD or DEV to apply these configuration settings to the respective project.
|Account ID, Account Passcode, and Account Token||Enter these details to authenticate your CleverTap account. You can obtain these details by navigating to the Settings > Project page from the CleverTap dashboard.|
|Region||Enter the region of your CleverTap account.|
The Output Configuration Saved message is displayed at the top of the Output page.
To connect input feed and output event on the mParticle dashboard:
- Navigate to the Connections > Connect page from the mParticle dashboard.
- Select iOS from the Available Inputs.
- Click Connect Output. The Connect Output popup opens.
- Select CleverTap and then select the Configuration Name that you want to connect.
- Toggle the Connection Status to forward data to the CleverTap dashboard.
- Select Customer ID from the User ID dropdown list.
- (Optional) Select the Min Platform Version.
- Click Add Connection and click Done.
- (Optional) Set up the forwarding rule for your output. This allows you to control the data you want to forward to the CleverTap dashboard.
- (Optional) Enter the percentage of the user base for which you want to event data to help control the cost.
- Click Save.
To install iOS SDK within the application, add the following code to your profile:
To initialize the mParticle client, refer to Initialize SDK under mParticle documentation.
After installing an app on a device, your user is assigned an anonymous profile. The first time when the application identifies the user on the device, the anonymous history on the device is associated with the newly identified user. To learn more about how user information is pushed to the mParticle dashboard, refer to Track Users under mParticle documentation.
To learn how to push event data whenever you want to capture any user action in your application, refer to Track Events under mParticle documentation.
For more information about integrating Push Notification in iOS, refer to iOS Push Notifications.
For more information about integrating In-App in iOS, refer to iOS In-App Notification.
For more information about integrating App Inbox in iOS, refer to iOS App Inbox.
To add advanced features to your iOS app, refer to iOS Advanced Features.
Updated 7 months ago