This reference lists every field in the Branch Event Ontology with its type, whether you or Branch sets it, and which event types include it. Use it to see what to send when you build an integration, and what you can expect downstream in exports, webhooks, and the API.
How to read this reference
Fields are grouped by family. Each table lists:
Field: The field name as it appears in exports and the API.
Type: The data type, including the allowed values for enums.
Set by: Who populates the field.
Clientmeans you send it from the SDK or API,Servermeans Branch derives it, andClient or servermeans either can supply it.Events: Which event types include the field.
Allmeans all twelve event types.Description: What the field represents.
Note: event types and naming
For what each event type means and the SDK constants that map to it, see Branch Event Ontology.
Field name conventions
Branch adds a prefix to each deep link data key to show where it comes from. In field names, those prefixes are spelled out: dollar_ for $ (a Branch reserved keyword), tilde_ for ~ (an analytics label), and plus_ for + (data Branch adds). For example, content_items[].dollar_price is the $price key. To learn more about the prefixes, see Deep Linking Full Reference.
Field reference
The ontology defines 273 distinct fields across the twelve event types. 88 of them appear in every event type, and the rest apply to a subset, as shown in the Events column.
Event fields (103 fields)
Fields that describe the event itself, the app, the device, and the session.
Field | Type | Set by | Events | Description |
|---|---|---|---|---|
| string | Client | All except IMPRESSION, VIEW | A client-specified web URL (Branch or non-Branch) that opens an Android app via Android App Links. |
| boolean | Server | All except IMPRESSION, CLICK, VIEW | Whether the event is attributed. Will always be accompanied by last_attributed_touch_type and last_attributed_touch_data. |
| map[string->string] | Client | All except IMPRESSION, CLICK, VIEW | Partner-specified custom key-value pairs associated with an event, excluding Touches, Branch CTA view. |
| string | Client | COMMERCE, CONTENT, LIFECYCLE, CUSTOM | TUNE customers can specify that an event of type "purchase" should have name "buy20tokens". The customer_event_alias captures this name, which is additional information. For most events this is likely unnecessary. Exposed in Webhooks and Exports for TUNE customers only. |
| enum { IMPRESSION, CLICK, BRANCH_CTA_VIEW, INSTALL, OPEN, REINSTALL, PAGEVIEW, WEB_SESSION_START, COMMERCE_EVENT, CUSTOM_EVENT, CONTENT_EVENT, USER_LIFECYCLE_EVENT } | Server | All | Convenience dimension for internal use. |
| int | Server | OPEN, INSTALL | Number of days between when the first install (user_data_opted_in= false) and when this event occurred. |
| int | Server | All except IMPRESSION, CLICK, VIEW | Number of days between when the last touch occurred and when this event subsequently occurred. |
| boolean | Server | All except IMPRESSION, CLICK, VIEW | True if the current app or web session resulted in the user being deep linked. |
| int | Server | CLICK, LIFECYCLE | Branch Flow ID. Should be internal only, but used by Tune, Appsflyer and other to match a click to an install, using the Android install referrer. Set server side, relayed by the client. |
| int | Server | All | Unix timestamp in milliseconds of when the event actually happened. Generally identical to timestamp for most implementations but could differ for backdated events or s2s integrations. |
| boolean | Client | All except IMPRESSION, CLICK, VIEW | This is TUNE's existing_user flag. Pass-through field. |
| boolean | Server | All except IMPRESSION, CLICK, VIEW | If this is the first time for this persona that this event has been triggered. |
| boolean | Server | All | Indicates whether the underlying event (such as a click or install) was flagged as suspicious or fake by fraud detection. This typically triggers when traffic originates from known bad IPs, emulators, server farms, or TOR networks. |
| boolean | Server | All | Indicates whether the attribution relationship was flagged as fraudulent by fraud detection. While the install itself might be real, the ad interaction claiming credit is suspicious (often used to detect Install Hijacking, Click Injection, or Click Flooding based on abnormal click-to-install latency times). |
| array[string] | Server | All | Contains the descriptions of the specific fraud detection rule(s) that flagged the event. Examples of values include 'Suspicious Device', 'Click Injection', 'Device Conflict', 'Geo Conflict', or 'Persona Fraud'. |
| int | Server | OPEN, INSTALL, REINSTALL, LIFECYCLE | Number of hours between when the last touch occurred and when this event subsequently occurred. CAPPED AT 24. |
| string | Server | All | A unique id for the event. |
| int | Server | All except IMPRESSION, CLICK, VIEW | An epoch timestamp for the time of the install in UTC in milliseconds. |
| boolean | Server | All except IMPRESSION, CLICK, VIEW | Whether Meta's mobile data terms have been signed for the Install Touch. When true, Meta does not require Branch to scrub Meta-related data from this record. |
| string | Client or server | All except IMPRESSION, CLICK, VIEW | Campaign (name) specified for the install activity. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Client or server | All except IMPRESSION, CLICK, VIEW | Channel specified for the install activity. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Client or server | All except IMPRESSION, CLICK, VIEW | Feature specified for the install activity. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| int | Server | All except IMPRESSION, CLICK, VIEW | Unix timestamp in milliseconds for the last attributed touch. |
| enum { CLICK, IMPRESSION } | Server | All except IMPRESSION, CLICK, VIEW | Whether the last attributed touch was an impression or a click. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Stringified JSON representing custom data specified for the last Branch CTA view e.g. {foo:true}. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Advertising partner short-code (e.g. e_rs) specified for the last Branch CTA view. |
| boolean | Server | All except IMPRESSION, CLICK, VIEW | Whether Meta's mobile data terms have been signed for the Last CTA View Touch. When true, Meta does not require Branch to scrub Meta-related data from this CTA view record. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Domain of the URL that the user visited before landing on a page with a Journey. This should use the same data source that we use for the "came directly from a URL" audience filter. |
| string | Server | All except IMPRESSION, CLICK, VIEW | The attributing touch's (impression, click, etc) id. |
| enum { EMAIL, ADS, DESKTOP_JOURNEYS, MOBILE_JOURNEYS, DESKTOP_DEEPVIEWS, MOBILE_DEEPVIEWS, SOCIAL, QUICK_LINKS } | Server | All except IMPRESSION, CLICK, VIEW | All Branch features (determined by Branch) which were determined, via attribution, to have led to this event. For example, if an email link click leads to a Journeys CTA view, the published eo_branch_cta_view will have +via_features: [EMAIL, JOURNEYS]. |
| enum { AMP, INSTANT_ARTICLES } | Client | All except IMPRESSION, CLICK, VIEW | Set if an event originated with a Branch CTA view on Google AMP or Facebook Instant Article. Specified by the client. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Ad id specified for the last Branch CTA view. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Ad name specified for the last Branch CTA view. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Ad set id specified for the last Branch CTA view. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Ad set name specified for the last Branch CTA view. |
| string | Client or server | All except IMPRESSION, CLICK, VIEW | ID for advertising partner specified for the last Branch CTA view. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Human-readable advertising partner name specified for the last Branch CTA view. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Agency of the last touch, as set with an analytics tag. Agency that runs ad campaigns on behalf of advertiser. |
| string | Client | All except IMPRESSION, CLICK, VIEW | ID of agency of the last touch, as set with an analytics tag. Agency that runs ad campaigns on behalf of advertiser. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Dimensions of display banner of the last touch, as set with an analytics tag. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Ad format of the last touch. Ad Format chosen upon Branch link creation and set as an analytics tag. e.g. Search, Display, Product Ad, App only. |
| string | Client or server | All except IMPRESSION, CLICK, VIEW | Campaign (name) specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Campaign id specified for the last Branch CTA view. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Campaign type. Google AAP field. |
| string | Client or server | All except IMPRESSION, CLICK, VIEW | Channel specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Creative id specified for the last Branch CTA view. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Creative name specified for the last Branch CTA view. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Customer ad name specified for the last Branch CTA view. Can be specified on links by the client. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Customer ad set name specified for the last Branch CTA view. Can be specified on links by the client. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Customer campaign specified for the last Branch CTA view. Can be specified by links on the client. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Customer keyword of the last touch. Can be specified on links by the client. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Customer specified placement of the last touch, as set with an analytics tag. Actual app or website the ad appears on display campaigns. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Customer secondary publisher specified for the last Branch CTA view. Can be specified on links by the client. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Customer reference to the site where the ad was displayed. Can be specified on links by the client. |
| string | Server | All except IMPRESSION, CLICK, VIEW | The id of click or impression (view) sent to Branch from a third party. Used to tie an attributed event back to the original touch. |
| string | Client or server | All except IMPRESSION, CLICK, VIEW | Feature specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| int | Server | All except IMPRESSION, CLICK, VIEW | The id for the last Branch CTA view. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Audience rule id for a Journey. |
| string | Client or server | All except IMPRESSION, CLICK, VIEW | "Campaign Name" or "title" for an audience rule / Journey. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Keyword specified for the last Branch CTA view. |
| string | All except IMPRESSION, CLICK, VIEW | Unique ID for keyword of the last touch as provided by Google. | |
| string | Client | All except IMPRESSION, CLICK, VIEW | Optimization model of the last touch, as set with an analytics tag. Model detailing the event for which the campaign is optimizing, e.g. for installs, clicks, events. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Placement of the last touch, as set with an analytics tag. Actual app or website the ad appears on display campaigns. |
| string | Client | All except IMPRESSION, CLICK, VIEW | ID of placement of the last touch, as set with an analytics tag. Actual app or website the ad appears on display campaigns. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Secondary ad format of the last touch, as set with an analytics tag or during ad link creation flow in the dashboard. Ad Partner Specific Ad format, such as Display Engagement Ad for Google. |
| string | Ad network | All except IMPRESSION, CLICK, VIEW | Secondary publisher specified for the last Branch CTA view. |
| string | Ad network | All except IMPRESSION, CLICK, VIEW | The id of the secondary publisher specified for the last Branch CTA view. |
| string | Client or server | All except IMPRESSION, CLICK, VIEW | Stage specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Ad network | All except IMPRESSION, CLICK, VIEW | Reference to the site where the ad was displayed. |
| array[string] | Client or server | All except IMPRESSION, CLICK, VIEW | Tags specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Technology partner of last touch, as set with an analytics tag. Any third party that's used to enhance a campaign (e.g. audiences being provided, creative optimization), with the exception of agencies. |
| int | Client | All except IMPRESSION, CLICK, VIEW | Publisher id of the last touch. TUNE-specific variable for one customer's ad network enablement. In general, last_attributed_touch_data_tilde_advertising_partner_name is a better field to use. |
| string | Client | All except IMPRESSION, CLICK, VIEW | Publisher name of the last touch. TUNE-specific variable for one customer's ad network enablement. In general, last_attributed_touch_data_tilde_advertising_partner_name is a better field to use. |
| string | Client | All except IMPRESSION, CLICK, VIEW | General-purpose field for passing data from click through to installs, opens, and conversion events. |
| string | Client | All except IMPRESSION, CLICK, VIEW | General-purpose field for passing data from click through to installs, opens, and conversion events. |
| string | Client | All except IMPRESSION, CLICK, VIEW | General-purpose field for passing data from click through to installs, opens, and conversion events. |
| string | Client | All except IMPRESSION, CLICK, VIEW | General-purpose field for passing data from click through to installs, opens, and conversion events. |
| string | Client | All except IMPRESSION, CLICK, VIEW | General-purpose field for passing data from click through to installs, opens, and conversion events. |
| string | Server | All except IMPRESSION, CLICK, VIEW | Branch view id for a Journey. |
| string | Client or server | All except IMPRESSION, CLICK, VIEW | "View Name" or "title" for a branch view / template. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| int | Server | All except IMPRESSION, CLICK, VIEW | Unix timestamp in milliseconds for the last Branch CTA view. |
| boolean | Server | All except IMPRESSION, CLICK, VIEW | Indicates if the match was made with 100% accuracy through deterministic methods. |
| int | Server | OPEN, INSTALL, REINSTALL, LIFECYCLE | Number of minutes between when the last touch occurred and when this event subsequently occurred. CAPPED AT 60. |
| string | Server | All | The name of the event, in this case IMPRESSION. |
| int | Server | All | The id of the organization for which the event occurred. |
| string | Server | All | The name of the organization for which the event occurred. |
| enum { BRANCH, SEGMENT, MPARTICLE, TUNE } | Server | All | Whether the event originated with a Branch SDK/API call, or was sent by Segment or mParticle. |
| array[boolean] | Server | All | Whether id found in persona_identifiers[].id definitely belongs to this user (if false, we used probabilistic edges). |
| array[string] | Server | All | Device, browser, or user id. |
| array[string] | Server | All | Type of id found in the persona_identifiers[].id dimension. |
| boolean | Server | All except IMPRESSION, CLICK, VIEW | Whether Meta's mobile data terms have been signed for the Reengagement Touch. When true, Meta does not require Branch to scrub Meta-related data from this reengagement record. |
| int | Server | OPEN, INSTALL, REINSTALL, LIFECYCLE | The time of the Play Store launch (Android only, TUNE-migrated customers only). |
| string | Server | All except IMPRESSION | A Branch generated identifer used to track the request through our pipeline. |
| int | Server | OPEN, INSTALL, REINSTALL, LIFECYCLE | number of seconds between when the last touch occurred and when this event subsequently occurred. CAPPED AT 60. |
| int | Server | OPEN, INSTALL, REINSTALL, LIFECYCLE | The time the install button is clicked in the Play Store / App Store (TUNE-migrated customers only). |
| int | Server | All | Unix timestamp in milliseconds for the event. |
| int | Client | All except WEB SESSION START, PAGEVIEW | TUNE's event id. Per-site. |
| int | Client | All | The id of the TUNE site (comparable to Branch's app_id). |
| string | Client | All | The name of the TUNE site. |
| string | Client | All except IMPRESSION, VIEW | A client-specified web URL (Branch or non-Branch) that opens an iOS app via Apple Universal Links. |
| map[string->string] | Server | LIFECYCLE | Request headers. |
| string | Server | LIFECYCLE | Request URL. |
| int | Server | LIFECYCLE | Code returned in the response by the third party. |
Attribution fields (last_attributed_touch_data) (63 fields)
Fields describing the ad touchpoint Branch attributed the event to. Useful downstream for reporting on campaign performance.
Field | Type | Set by | Events | Description |
|---|---|---|---|---|
| string | Client | All | Any deep link data specified for the last touch not captured by the above fields e.g. {foo:true, $deeplink_path: 'id/12'}. "custom_fields" should not be surfaced as an independent object. The values should be included in last_attributed_touch_data. |
| string | Client | All | advertising partner short-code (e.g. e_rs) specified for the last attributed touch. |
| boolean | Server | All except IMPRESSION, CLICK, VIEW | Whether the mobile data terms are not signed from Facebook. This means we need to hide everything attribution-related from external events. |
| string | Server | All | Quick Link title. |
| boolean | Server | All | Whether Meta's mobile data terms have been signed for the Last Attributed Touch. When true, Meta does not require Branch to scrub Meta-related data from this attribution record. |
| string | Server | All | The specific signal, mechanism, identifier, or framework used to link the conversion event to a marketing touchpoint (e.g., ADVERTISING_ID, GCLID, GBRAID, AEM, PERSONA). |
| string | Server | All | Classifies the broader category of methodology used to generate or validate the attribution signal, grouping methods based on reliability or privacy frameworks (e.g., PARTNER_DETERMINISTIC, PARTNER_CLICK_IDENTIFIERS, BRANCH_MODELLED, PARTNER_PRIVACY_FRAMEWORK). |
| enum { EMAIL, ADS, DESKTOP_JOURNEYS, MOBILE_JOURNEYS, DESKTOP_DEEPVIEWS, MOBILE_DEEPVIEWS, SOCIAL, QUICK_LINKS } | Server | IMPRESSION, CLICK, VIEW, LIFECYCLE | Branch feature (determined by Branch) of the current touch. |
| string | Client | All except IMPRESSION | Domain of the URL that the user visited before landing on a page with a Journey. This should use the same data source that we use for the "came directly from a URL" audience filter. |
| string | Server | All | The attributing touch's (impression, click, etc) id. |
| enum { EMAIL, ADS, DESKTOP_JOURNEYS, MOBILE_JOURNEYS, DESKTOP_DEEPVIEWS, MOBILE_DEEPVIEWS, SOCIAL, QUICK_LINKS } | Server | All except IMPRESSION | All Branch features (determined by Branch) which were determined, via attribution, to have led to this event. For example, if an email link click leads to a Journey which leads to the app, the published eo_open will have +via_features: [EMAIL, JOURNEYS]. |
| enum { AMP, INSTANT_ARTICLES } | Client | All | Set if an event originated with a touch on Google AMP or Facebook Instant Article. |
| string | Server | All | The ad id specified for the last attributed touch. |
| string | Server | INSTALL, REINSTALL | The ad name specified for the last attributed touch. |
| string | Server | INSTALL, REINSTALL | The ad set id specified for the last attributed touch. |
| string | Server | INSTALL, REINSTALL | The ad set name specified for the last attributed touch. |
| string | Client or server | All | ID for the advertising partner specified for the last attributed touch. For now, specific to partners migrating from TUNE. |
| string | Server | All | Human-readable advertising partner name specified for the last attributed touch. |
| string | Client | All | Agency of the last touch, as set with an analytics tag. Agency that runs ad campaigns on behalf of advertiser. |
| string | Client | All | ID of agency of the last touch, as set with an analytics tag. Agency that runs ad campaigns on behalf of advertiser. |
| string | Client | All | Dimensions of display banner of the last touch, as set with an analytics tag. |
| string | Client | All | Ad format of the last touch. Ad Format chosen upon Branch link creation and set as an analytics tag. e.g. Search, Display, Product Ad, App only. |
| string | Client or server | All | Campaign (name) specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Server | All | Campaign id specified for the last attributed touch. |
| string | Server | All | Campaign type. Google AAP field. |
| string | Client or server | All | Channel specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Server | All | Content ID of the link; used for Roku and other OTT content. |
| string | Server | All | Creative id specified for the last attributed touch. |
| string | Client | All | The customer ad name specified for the last attributed touch. Can be specified on the link by the client. |
| string | Ad network | All | Customer ad set name specified for the last attributed touch. |
| string | Client or server | All | Customer campaign specified for the last attributed touch. Can be specified on links by the client. |
| string | Client | All | Customer keyword of the last touch. Can be specified on links by the client. |
| string | Client | All | Customer specified placement of the last touch, as set with an analytics tag. Actual app or website the ad appears on display campaigns. |
| string | Ad network | All | Customer secondary publisher specified for the last attributed touch. |
| string | Client | All | Customer reference to the site where the ad was displayed. Can be specified on links by the client. |
| string | Ad network | All | The id of click or impression (view) sent to Branch from a third party. Used to tie an attributed event back to the original touch. Where the attributed partner is Google SAN, this will be the gclid value. See gclid in this sheet for more information. |
| string | Client or server | All | Feature specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| long | Server | All except IMPRESSION | The id for the last attributed touch (Quick Links only). |
| string | Server | All except IMPRESSION | Audience rule id for a Journey. |
| string | Client or server | All except IMPRESSION | "Campaign Name" or "title" for an audience rule / Journey. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Server | All | The keyword specified for the last attributed touch. |
| string | All | Unique ID for keyword of the last touch as provided by Google. | |
| string | Server | All except IMPRESSION, CLICK, VIEW | How the keyword the user searched got matched to the ad, e.g. Broad, Exact, Phrase, Search Match. |
| string | Client | All | Optimization model of the last touch, as set with an analytics tag. Model detailing the event for which the campaign is optimizing, e.g. for installs, clicks, events. |
| string | Server | All except IMPRESSION | The organic search URL that the topic has been last attributed to. |
| string | Client | All | Placement of the last touch, as set with an analytics tag. Actual app or website the ad appears on display campaigns |
| string | Client | All | ID of placement of the last touch, as set with an analytics tag. Actual app or website the ad appears on display campaigns |
| string | Client | All | Secondary ad format of the last touch, as set with an analytics tag or during ad link creation flow in the dashboard. Ad Partner Specific Ad format, such as Display Engagement Ad for Google. |
| string | Ad network | All | Secondary publisher specified for the last attributed touch. |
| string | Ad network | All | The id of secondary publisher specified for the last attributed touch. |
| string | Client or server | All | Stage specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Ad network | All | Reference to the site where the ad was displayed. |
| array[string] | Client or server | All | Tags specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases. |
| string | Client | All | Technology partner of last touch, as set with an analytics tag. Any third party that's used to enhance a campaign (e.g. audiences being provided, creative optimization), with the exception of agencies. |
| int | Client | All | Publisher id of the last touch. TUNE-specific variable for one customer's ad network enablement. In general, last_attributed_touch_data_tilde_advertising_partner_name is a better field to use. |
| string | Client | All | Publisher name of the last touch. TUNE-specific variable for one customer's ad network enablement. In general, last_attributed_touch_data_tilde_advertising_partner_name is a better field to use. |
| string | Client | All | General-purpose field for passing data from click through to installs, opens, and conversion events. |
| string | Client | All | General-purpose field for passing data from click through to installs, opens, and conversion events. |
| string | Client | All | General-purpose field for passing data from click through to installs, opens, and conversion events. |
| string | Client | All | General-purpose field for passing data from click through to installs, opens, and conversion events. |
| string | Client | All | General-purpose field for passing data from click through to installs, opens, and conversion events. |
| string | Server | All except IMPRESSION | Branch view id for a Journey. |
| string | Client or server | All except IMPRESSION | "View Name" or "title" for a branch view / template. Can be specified on links by the client, or prefilled automatically server side in some cases. |
User and device fields (user_data) (56 fields)
Fields describing the user and their device at the time of the event.
Field | Type | Set by | Events | Description |
|---|---|---|---|---|
| string | Client | All except VIEW, WEB SESSION START, PAGEVIEW | Android/Google advertising id of the device where the event occurred. |
| string | Client | All except IMPRESSION, VIEW, WEB SESSION START, PAGEVIEW | Android hardware id. Can only be reset by wiping the device. |
| string | Client | All except IMPRESSION, VIEW, WEB SESSION START, PAGEVIEW | TUNE uses this to look up the site the request is for. site_id is preferred as it is more specific. Also used in webhooks. |
| string | Client | OPEN, INSTALL, REINSTALL, COMMERCE, CONTENT, LIFECYCLE, CUSTOM | Specifies which app store the app was downloaded for. |
| string | Client | All except IMPRESSION, VIEW, WEB SESSION START, PAGEVIEW | App version where the event occurred. |
| string | Client | All | Brand of the device where the event occurred. |
| string | Client | All except OPEN, INSTALL, REINSTALL | A human-readable name for the browser from which the web event originated. Derived from user-agent string. |
| string | Server | OPEN, INSTALL, REINSTALL, COMMERCE, CONTENT, LIFECYCLE, CUSTOM | The build version of the device. TUNE-migrated customers only. |
| string | Server | OPEN, INSTALL, REINSTALL, COMMERCE, CONTENT, LIFECYCLE, CUSTOM | The name of the carrier (e.g. Verizon) of the device. TUNE-migrated customers only. |
| string | Client | All | Consumer Protection Preference level. |
| string | Server | OPEN, INSTALL, REINSTALL, COMMERCE, CONTENT, LIFECYCLE, CUSTOM | The type of central processing unit used by the device. TUNE-migrated customers only. |
| string | Server | All | An app-scoped unique identifier for the Branch Persona for which this event occurred. |
| string | Client | All | Developer-specified identity for a user. |
| enum { ANDROID_PHONE, ANDROID_TABLET, DESKTOP, IOS_PHONE, IOS_TABLET, OTHER, TV_OS, UNKNOWN, WINDOWS_PHONE, WINDOWS_TABLET } | Client | All | TUNE historically has categorized devices for convenience aggregate analytics. Similar to user_data_platform, with the addition of Windows devices and specifying phone vs tablet. |
| boolean | Client | All | Indicates whether the end-user has explicitly granted or denied ads personalization consent. Set to true if consent is granted, and false if denied. |
| boolean | Client | All | Indicates whether the end-user has explicitly granted or denied consent for the 3rd-party transmission of user-level data for advertising purposes. Set to |
| boolean | Client | All | Indicates whether European regulations, including the Digital Markets Act (DMA), apply to this user and conversion. Set to |
| enum { FULL_WEB, FULL_APP, IMESSAGE_APP, INSTANT_APP } | Client | All | Runtime environment where the event occurred, which can distinguish between e.g. full app vs instant app. |
| int | Server | All | City code, derived from IP address (above). |
| string | Server | All | Human-readable city, derived from IP address (above). |
| string | Server | All | Country code, derived from IP address (above). |
| string | Server | All | Country name in English, derived from IP address (above). |
| int | Server | All | DMA code, derived from IP address (above). https://support.google.com/richmedia/answer/2745487?hl=en |
| double | Server | All | Latitude, derived from IP address (above). |
| double | Server | All | Longitude, derived from IP address (above). |
| string | Server | All | Postal code, derived from IP address (above). |
| string | Server | All | Region code, derived from IP address (above). |
| string | Server | All | Human-readable region, derived from IP address (above). |
| string | Client | All except OPEN, INSTALL, REINSTALL | Referral url that led to the current page where Web SDK logged web session start. |
| string | Client | All except VIEW, WEB SESSION START, PAGEVIEW | iOS advertising id of the device where the event occurred. |
| string | Client | All except IMPRESSION, VIEW, WEB SESSION START, PAGEVIEW | iOS vendor id of the device where the event occurred. Scoped to a vendor e.g. Facebook: idfv is the same for Facebook and Messenger but different Twitter. |
| string | Server | OPEN, INSTALL, REINSTALL, COMMERCE, CONTENT, LIFECYCLE, CUSTOM | The package name of the app that installed the app. TUNE-migrated customers only. |
| string | Server | OPEN, INSTALL, REINSTALL, COMMERCE, CONTENT, LIFECYCLE, CUSTOM | The type of connection to the internet (e.g. Wifi) used by the device. TUNE-migrated customers only. |
| string | Server | All | IP address from which the API call tracking the event originated. Set automatically server side. |
| boolean | Client | All | If true, then the phone that sent this event was jailbroken. |
| string | Server | All except VIEW, WEB SESSION START, PAGEVIEW | Kindle ID. |
| string | Client | All | Language specified in the user_agent string (or in some cases other headers). |
| boolean | Client | All except CLICK | True if the partner has opted to not be tracked by advertisers. On iOS 10+, accompanied by idfa of 0s. |
| string | Client | All | Model of the device where the event occurred. |
| string | Server | All except VIEW | The Open Anonymous Device Identifier (OAID) is used for advertising purposes in place of the non-supported Google Advertising ID for specific device manufacturers. The Branch SDK collects OAID and uses it for attribution on clicks and impressions. |
| boolean | Client | OPEN, INSTALL | Boolean for whether the second OPEN can be infered as INSTALL after opt-in. If set, the event can be considered as our synthetic OPEN generated by api-open by inspecting incoming event paramters with persona data. If the event is not considered as the second OPEN, the flag is not present. Only available for iOS14.5 or higher. |
| enum { not_determined, restricted, denied, authorized } | Client | OPEN, INSTALL, REINSTALL | Opted in Status is for iOS 14.5 and above users where the ATT Prompt status is defined and passed to Branch Servers via the SDK. |
| enum { AMAZON_FIRE, AMAZON_FIRE_TV, ANDROID, BADA, BEOS, BLACKBERRY, BSD, CENTOS, CHROMIUM_OS, DEBIAN, DRAGONFLY, FEDORA, FIREFOX_OS, FREEBSD, GENTOO, GN, IOS, JOLI, KUBUNT, LINUX, MAC_OS, MANDRIVA, MEEGO, MINT, NETBSD, NINTENDO, OPENBSD, OS_2, OTHER, PLAYSTATION, RIM_TABLET_OS, ROBOTS, SAILFISH, SLACKWARE, SOLARIS, SUSE, SYMBIAN, TIZEN, TVOS, UBUNT, UNIX, WINDOWS, WINDOWS_PHONE, ZENWALK } | Client | All | The OS of the device where the event occurred. Note that robots includes web and app robots for easy filtering. |
| string | Client | All | The OS version (iOS) or API version (Android) of the device where the event occurred. |
| string | Client | All | The OS version (Android) of the device where the event occurred. |
| array[string] | Server | All | A list of past cross_platform_id values associated with this Branch Persona. Enables identifying Personas that have been merged together. |
| enum { ANDROID_APP, ANDROID_TV, ANDROID_WEB, DESKTOP_WEB, FIRE_APP, IOS_APP, IOS_TV, IOS_WEB, MAC_APP, OTHER, ROBOT, WINDOWS_APP } | Client | All | Convenience dimension that allows users to easily see web vs app, desktop vs mobile, and iOS vs Android vs other. Derived from information specified by the client. |
| array[string] | Server | All | A list of past cross_platform_id values that are probabilistically associated with this Branch Persona. Enables identifying Personas that may be the same. |
| array[double] | Server | All | A list of past cross_platform_id values that are probabilistically associated with this Branch Persona. Enables identifying Personas that may be the same. |
| string | Client | All except IMPRESSION, VIEW, WEB SESSION START, PAGEVIEW | Android: activity.getCallingPackage(). iOS: Web referrer, safari referrer, or bundle_id. |
| int | Server | All except IMPRESSION, VIEW, WEB SESSION START | The width of the screen of the device. TUNE-migrated customers only. |
| int | Server | All except IMPRESSION, VIEW, WEB SESSION START | The width of the screen of the device. TUNE-migrated customers only. |
| string | Client | All except IMPRESSION, VIEW | Branch SDK version used to track this event. |
| string | Client or server | All except VIEW, WEB SESSION START, PAGEVIEW | TUNE User id generated by the SDK. Can also be set server-side if not set. Not shared across customers. Can be attached to a TUNE click, and subsequent events with the same mat_id can be attributed back to that click. |
| string | Client | All | User agent of the browser or app where the event occurred. Usually associated with a webview. |
| string | Server | All except VIEW, WEB SESSION START, PAGEVIEW | Windows Advertising ID. |
Content item fields (content_items) (36 fields)
Fields describing the individual products or content in the event. Sent as an array, so one event can carry many items.
Field | Type | Set by | Events | Description |
|---|---|---|---|---|
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Partner-specified custom key-value pairs associated with a BUO. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | City for a restaurant, business, room (hotel), etc. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Country code for a restaurant, business, room (hotel), etc. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Postal/zip code for a restaurant, business, room (hotel), etc. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | State or region for a restaurant, business, room (hotel), etc. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Street address for a restaurant, business, room (hotel), etc. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Used to allow Branch to unify content/messages. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | A web URL which refers to the content on the public web (mobile or desktop). Preferably is a permalink, and used as canonical URL elsewhere (main website, AMP pages, etc.). |
| enum { NEW, EXCELLENT, GOOD, FAIR, POOR, USED, REFURBISHED, OTHER } | Client | COMMERCE, CONTENT, LIFECYCLE | For auctions, whether the item is new, good, acceptable, etc. |
| enum { COMMERCE_AUCTION, COMMERCE_BUSINESS, COMMERCE_OTHER, COMMERCE_PRODUCT, COMMERCE_RESTAURANT, COMMERCE_SERVICE, COMMERCE_TRAVEL_FLIGHT, COMMERCE_TRAVEL_HOTEL, COMMERCE_TRAVEL_OTHER, GAME_STATE, MEDIA_IMAGE, MEDIA_MIXED, MEDIA_MUSIC, MEDIA_OTHER, MEDIA_VIDEO, OTHER, TEXT_ARTICLE, TEXT_BLOG, TEXT_OTHER, TEXT_RECIPE, TEXT_REVIEW, TEXT_SEARCH_RESULTS, TEXT_STORY, TEXT_TECHNICAL_DOC } | Client | COMMERCE, CONTENT, LIFECYCLE | Category / schema for a piece of content. |
| array[int] | Client | COMMERCE, CONTENT, LIFECYCLE | Time the content was created. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Currency code for a BUO. |
| array[int] | Client | COMMERCE, CONTENT, LIFECYCLE | The last time afterwhich this content is no longer valid. Using null / 0 means no limit. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Captions associated with the image. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Any keywords. |
| array[double] | Client | COMMERCE, CONTENT, LIFECYCLE | Latitude for a restaurant, business, room (hotel), etc. |
| array[boolean] | Client | COMMERCE, CONTENT, LIFECYCLE | If true, content can be indexed for local (device) use. If false, content cannot index for local use. |
| array[double] | Client | COMMERCE, CONTENT, LIFECYCLE | Longitude for a restaurant, business, room (hotel), etc. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Description (for individual item). |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Image URL. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | The rendered document title (also for searching) - if a collection then the title for the collection not the individual items. |
| array[double] | Client | COMMERCE, CONTENT, LIFECYCLE | Unit price for the product/content. |
| array[double] | Client or server | COMMERCE, CONTENT, LIFECYCLE | Unit price in USD, based off of price, currency, and exchange rate. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Product's brand. |
| enum { ANIMALS_AND_PET_SUPPLIES, APPAREL_AND_ACCESSORIES, ARTS_AND_ENTERTAINMENT, BABY_AND_TODDLER, BUSINESS_AND_INDUSTRIAL, CAMERAS_AND_OPTICS, ELECTRONICS, FOOD_BEVERAGES_AND_TOBACCO, FURNITURE, HARDWARE, HEALTH_AND_BEAUTY, HOME_AND_GARDEN, LUGGAGE_AND_BAGS, MATURE, MEDIA, OFFICE_SUPPLIES, RELIGIOUS_AND_CEREMONIAL, SOFTWARE, SPORTING_GOODS, TOYS_AND_GAMES, VEHICLES_AND_PARTS } | Client | COMMERCE, CONTENT, LIFECYCLE | Product category, if product. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Product's name. |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Product variant (e.g. XL). |
| array[boolean] | Client | COMMERCE, CONTENT, LIFECYCLE | If true, content can be seen by anyone. If false, content cannot index for public use. |
| array[double] | Client | COMMERCE, CONTENT, LIFECYCLE | Quantity of the item to be ordered (for PURCHASE, ADD_TO_CART, etc). |
| array[double] | Client | COMMERCE, CONTENT, LIFECYCLE | Rating given by the user on a RATE event. |
| array[double] | Client | COMMERCE, CONTENT, LIFECYCLE | Average rating of the item. |
| array[int] | Client | COMMERCE, CONTENT, LIFECYCLE | Number of ratings for the item. |
| array[double] | Client | COMMERCE, CONTENT, LIFECYCLE | Maximum possible rating for the item (e.g. 5 stars is highest possible rating). |
| array[string] | Client | COMMERCE, CONTENT, LIFECYCLE | Product sku or product id. |
| array[double] | Server | COMMERCE, CONTENT, LIFECYCLE | Value is the product of $price multipled by $quantity. |
| array[double] | Server | COMMERCE, CONTENT, LIFECYCLE | Value in USD (see $value above), based off of price, currency, and exchange rate. |
Event detail fields (event_data) (15 fields)
Fields describing the transaction or interaction, such as revenue, currency, and search query.
Field | Type | Set by | Events | Description |
|---|---|---|---|---|
| enum { BANNER, INTERSTITIAL, REWARDED_VIDEO, NATIVE } | Client | COMMERCE, CONTENT, LIFECYCLE | Ad type that the user saw or clicked on. Defined by Facebook. |
| string | Client | COMMERCE, CONTENT, LIFECYCLE | Store or affiliation from which this transaction occurred (e.g. Google Store). |
| string | Client | COMMERCE, CONTENT, LIFECYCLE | Transaction coupon redeemed with the transaction (e.g. "SPRING2017"). |
| string | Client | COMMERCE, CONTENT, LIFECYCLE | Currency that revenue, price, shipping, tax were orginally reported in by the partner. |
| string | Client | OPEN, INSTALL, REINSTALL, COMMERCE, CONTENT, LIFECYCLE, CUSTOM | Custom parameter 1 for your event. |
| string | Client | OPEN, INSTALL, REINSTALL, COMMERCE, CONTENT, LIFECYCLE, CUSTOM | Custom paramter 2 for your event. |
| string | Client | OPEN, INSTALL, REINSTALL, COMMERCE, CONTENT, LIFECYCLE, CUSTOM | Custom parameter 3 for your event. |
| string | Client | COMMERCE, CONTENT, LIFECYCLE | Description associated with the event, not necessarily specific to any individual content items. |
| double | Client | COMMERCE, CONTENT, LIFECYCLE | Exchange rate from the time the event occurred (may be up to 24 hours old but is typically updated within the hour). |
| double | Client | COMMERCE, CONTENT, LIFECYCLE | Partner-specified revenue for the event. |
| double | Server | COMMERCE, CONTENT, LIFECYCLE | Revenue in USD, based off of revenue, currency, and exchange rate. |
| string | Client | COMMERCE, CONTENT, LIFECYCLE | Search query associated with the event. |
| double | Client | COMMERCE, CONTENT, LIFECYCLE | Shipping cost associated with the transaction. Specified by the client. |
| double | Client | COMMERCE, CONTENT, LIFECYCLE | Total tax associated with the transaction. |
| string | Client | COMMERCE, CONTENT, LIFECYCLE, CUSTOM | Sartner-specified transaction id for their internal use. |