Default Parameters

Prev Next

The Mapp Intelligence iOS SDK automatically attaches a set of default parameters to every tracking request. You do not need to set these manually — they are collected and sent by the SDK on your behalf.

What the SDK attaches automatically

Category

Examples

App identity

App name, app version, app build, bundle identifier

Device

Device model, OS name and version, screen size, language

SDK identity

SDK name and version (see Retrieve Active Global Configuration)

Session

Session start (fns), one-time per user (one), everID (eid) — unless Anonymous Tracking is active

Time

Server-side timestamp; client timestamp when enabled in your account

Override or extend default parameters

You can extend each tracking request with your own parameters by populating the relevant MI…Parameters object on the event before passing it to a track… method. For example:

  • MIPageParameters for page-level data — see Pages.

  • MIEventParameters for action-level data — see Events.

  • MISessionParameters for session-level data — see Sessions.

  • MIUserCategories for user-level data — see Users.

  • MIEcommerceParameters + MIProduct for commerce data — see Products and Orders.

  • MICampaignParameters for campaign data — see Campaigns.

Configure how default parameters are sent

  • App version on every request: set sendAppVersionInEveryRequest = true. By default, the app version is included only in the first request of each session. See Configure Global Tracking.

  • Anonymous tracking: when enabled, the SDK suppresses the everID and any parameters you list in enableAnonymousTracking([...]). See Anonymous Tracking.

Related: Configure Global Tracking, Character Limits and Data Types.