Data flows in the SDK - emartech/ios-emarsys-sdk GitHub Wiki
Automatically tracked by the SDK
Emarsys does not identify or link users across customer databases and apps using parameters tracked by the SDK, or otherwise.
- Refresh contact token
- Anonymous contact creation
- DeviceInfo
- platform - String
- applicationVersion - String
- deviceModel - String
- osVersion - String
- sdkVersion - String
- language - String
- timezone - String
- notificationSettings - Dictionary<String, Any>
- hwid - String
- channelSettings - Dictionary<String, Any>
- Events
- AppStart
- SessionStart
- SessionEnd
- Geofence enter (requires pilot agreement)
- push: open and action button click events
- in-app: view and action button click events
- trackDeepLink events but only in case your Activity has no onNewIntent overridden
- With every event tracking:
- Clicks - Array
- campaignId - String
- buttonId - String
- Timestamp - String
- viewedMessages - Array
- campaignId - String
- Timestamp - String
- With every in-app message
- viewIds - Array
- Clicks - Array
- campaignId - String
- buttonId - String
- Timestamp - String
Tracked manually by customer:
- Contact identification
- Anonymous - false
- contactFieldId - Number
- contactFieldValue - String
- Set push token
- Events
- dnd(Do not disturb) - Boolean
- Events - Array
- Type - String
- Name - String
- Timestamp - String
- Attributes - Map<Any<String, String>>
- Inline in-apps
- /v3/apps/:app_code/messages/:message_id
- Signature - String
- Lang - String
- Expires - Number
- With every call:
- X-Client-Id - String
- X-Contact-Token - String (on event endpoints)
- X-Client-State - String
- X-Request-Order - string
- Predict
- predict_item_category_view
- predict_item_view
- predict_cart
- predict_search_term
- predict_purchase
- predict_tag
- predict_item_view
- product
- productId
- title
- linkUrl
- customFields <String, Any>
- feature
- cohort
- imageUrl
- zoomImageUrl
- categoryPath
- available
- productDescription
- price
- msrp
- album
- actor
- artist
- author
- brand
- year
⚠️ **GitHub.com Fallback** ⚠️