Skip to content

Data flows in the SDK

David Schuppa edited this page Jan 21, 2021 · 3 revisions

Automatically tracked by the SDK

  • Refresh contact token
    • refreshToken - String
  • Anonymous contact creation
  • DeviceInfo
    • platform - String
    • applicationVersion - String
    • deviceModel - String
    • osVersion - String
    • sdkVersion - String
    • language - String
    • timezone - String
    • notificationSettings - Dictionary<String, Any>
    • hwid - String
    • applicationId - String
    • channelSettings - Dictionary<String, Any>
  • Events
    • AppStart
    • 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
    • pushToken - String
  • 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
      • category path
    • predict_item_view
      • itemId
    • predict_cart
      • cartItems <Array>
        • itemId
        • Price
        • Quantity
    • predict_search_term
      • searchTerm
    • predict_purchase
      • orderId
      • Items <Array>
        • itemId
        • Price
        • Quantity
    • predict_tag
      • 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
Clone this wiki locally