Integrations
Primer - Instantly deploy native screens personalized for every new user.
This is a kit-only integration that solely supports client-side data forwarding.
In order to enable mParticle’s integration with Primer you will need the SDK Token for your Primer project, and to manually set up and start the Primer SDK.
Whitelist Primer’s domain:
//XML code for whitelisting Primer's domain
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>goprimer.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
//Initialize the Primer Kit
[Primer startWithToken:@"YOUR_SDK_TOKEN"];
//Present the onboarding experience
[Primer presentExperience];
-application:didFinishLaunchingWithOptions:
prior to starting the mParticle SDK-viewDidLoad
of your first view controller to be presented to the user on app load.For more information, and additional optional integration features, please refer to the Primer iOS SDK Documentation.
Was this page helpful?