Primer - Instantly deploy native screens personalized for every new user.

This is a kit-only integration that solely supports client-side data forwarding.

Supported Features

  • User Attributes
  • eCommerce Events
  • App Events
  • Session Events


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.

  1. Sign up for an account with Primer and get your Token from the General tab in the project dashboard Settings page.
  2. Whitelist Primer’s domain:

    //XML code for whitelisting Primer's domain
  3. The Primer integration only supports the iOS platform and you must add the Primer Kit to your app.

SDK Initialization

//Initialize the Primer Kit
[Primer startWithToken:@"YOUR_SDK_TOKEN"];

//Present the onboarding experience
[Primer presentExperience];
  1. Start the SDK in -application:didFinishLaunchingWithOptions: prior to starting the mParticle SDK
  2. Present an onboarding experience by calling the presentation method in the -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?