Appearance
Export log-level and aggregate-level data for measuring campaign performance.
GET/analytics/{job_id}
Check the status of an aggregate export job. When the job's status is FINISHED, the response includes a signed response_url you can use to download the export.
Unique identifier for the Branch app of the requested data.
The unique ID of the request. Obtained from the Export Request.
Format of the returned data: json or csv.
csvjsonThe maximum number of results to return.
Current status of the aggregate export job. When status is FINISHED, response_url contains the signed download link. Returns 400, 404, and 429 on failure — see the response panel for the error shape.
POST/analytics
By passing in the appropriate options, you can initiate an export of your aggregate Branch data.
A string value representing the data source. See Topics for the complete list.
eo_impressioneo_clickeo_web_to_app_auto_redirecteo_branch_cta_vieweo_openeo_installeo_reinstalleo_web_session_starteo_pagevieweo_commerce_eventeo_custom_eventeo_content_eventAn array representing the dimensions to group by. The limit is 11. See Dimensions for the complete list.
nameapp_idapp_nameorigintimestampdeep_linkedfrom_desktopattributeduser_data_app_storeuser_data_app_versionuser_data_osuser_data_languageThe end of the interval time range represented as an ISO-8601 complete date.
The start of the interval time range represented as an ISO-8601 complete date.
How to count events toward the final result count. When querying with a data source of "eo_commerce_event", the aggregation may also be specified as "revenue", in which case the counts returned are the sum of revenue from matching events, and not the number of events themselves.
unique_counttotal_countrevenuecostcost-in-local-currencyIf true, then Branch will dedupe unattributed installs caused by duplicate events from non-opt-in users coming from paid ads (resulting from iOS 14.5 privacy changes).
Keys are the same as dimensions. Values are an array of values to match for the dimension.
An object defining filters to match or disallow certain values.
The name of the event, such as "CLICK", "INSTALL", "PURCHASE", or custom event names like "UpdateSettings". Set either by the client (for example, custom events) or automatically server side. See events for the Standard Events enum.
Unique identifier for the Branch app of the requested data.
The name of your Branch app.
Whether the event originated with a Branch SDK/API call, or was sent by Segment or mParticle. Set automatically server side.
BRANCHSEGMENTMPARTICLEUnix timestamp in milliseconds for the event. Set automatically server side.
True if the current app or web session resulted in the user being deep linked. Set automatically server side.
truefalseTrue if the last attributed touch originated on desktop and the user continued through to mobile via Text Me The App. Set automatically server side.
truefalseWhether the event is attributed. This will always be accompanied by last_attributed_touch_type and last_attributed_touch_data. Set automatically server side.
truefalseOperating system (OS) of the device where the event occurred. Note that robots include web and app robots for easy filtering. Specified by the client.
AMAZON_FIREAMAZON_FIRE_TVANDROIDBADABEOSBLACKBERRYBSDCENTOSCHROMIUM_OSDEBIANDRAGONFLYFEDORALanguage specified in the user_agent string (or, in some cases, other headers). Specified by the client.
Convenience dimension that lets you easily see web versus app, desktop versus mobile, and iOS versus Android versus other. Derived from information specified by the client.
Runtime environment where the event occurred, which can distinguish between, for example, full app and instant app. Specified by the client.
FULL_WEBFULL_APPIMESSAGE_APPINSTANT_APPTV_WEBTV_APPAPP_CLIPDMA code, derived from IP address. https://support.google.com/richmedia/answer/2745487?hl=en. Set automatically server side.
Country code, derived from IP address. Set automatically server side.
Country, derived from user agent string or request body field. Specified by the client.
Consumer Protection Preference level.
Human-readable region, derived from IP address. Set automatically server side.
Boolean for whether the second OPEN can be inferred as INSTALL after opt-in. If set, the event can be considered as our synthetic OPEN generated by api-open by inspecting incoming event parameters with persona data. If the event isn't considered as the second OPEN, the flag isn't present. Only available for iOS 14.5 or higher.
truefalseCurrent authorization status of the opt-in flag for iOS 14.5 or higher traffic. The flag is sent directly from the SDK.
Whether the last attributed touch was an impression, a click, or a web-to-app auto redirect. Set automatically server side.
CLICKWEB_TO_APP_AUTO_REDIRECTIMPRESSIONCampaign (name) specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases.
Campaign ID specified for the last attributed touch. Set automatically server side.
Channel specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases.
Feature specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases.
Stage specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases.
Tags specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases.
Human-readable advertising partner name specified for the last attributed touch. Set automatically server side.
ID for the advertising partner specified for the last attributed touch. Set automatically server side or specified by the client, for now, specific to partners migrating from TUNE.
Secondary publisher specified for the last attributed touch. Passed by the ad network.
Creative name specified for the last attributed touch. Set automatically server side.
Creative ID specified for the last attributed touch. Set automatically server side.
Ad set name specified for the last attributed touch. Set automatically server side.
Ad set ID specified for the last attributed touch. Set automatically server side.
Ad name specified for the last attributed touch. Set automatically server side.
Ad ID specified for the last attributed touch. Set automatically server side.
Keyword specified for the last attributed touch. Set automatically server side.
Keyword ID for the last attributed touch. Set automatically server side.
Placement of the last touch, as set with an analytics tag. Actual app or website the ad appears on in display campaigns.
Agency of the last touch, as set with an analytics tag. The agency that runs ad campaigns on behalf of the advertiser.
ID of the agency of the last touch, as set with an analytics tag. The agency that runs ad campaigns on behalf of the advertiser.
Customer secondary publisher.
Customer ad set name.
Customer ad name.
Customer keyword.
Customer placement.
Customer sub site name.
Customer campaign.
Marketing title of the Branch Link.
Whether the Meta mobile data terms have been signed for the last attributed touch. When true, Meta doesn't require Branch to scrub Meta-related data from this attribution record.
The third party that was part of the last touch.
Branch feature (determined by Branch) of the current touch. Set automatically server side.
EMAILADSDESKTOP_JOURNEYSMOBILE_JOURNEYSDESKTOP_DEEPVIEWSMOBILE_DEEPVIEWSSOCIALQUICK_LINKSAPP_CLIPAll Branch features (determined by Branch) that were determined, via attribution, to have led to this event. For example, if an email link click leads to a Journey that leads to the app, the published eo_open will have +via_features: [EMAIL, JOURNEYS]. Set automatically server side.
EMAILADSDESKTOP_JOURNEYSMOBILE_JOURNEYSDESKTOP_DEEPVIEWSMOBILE_DEEPVIEWSSOCIALQUICK_LINKSAPP_CLIPSet if an event originated with a touch on Google AMP or Facebook Instant Article. Specified by the client.
AMPINSTANT_ARTICLESAggregate measurement associated with the last attributed touch.
Whether PAM was enabled for the last attributed touch.
Audience rule ID for a Journey. Set automatically server side.
"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.
Branch View ID for a Journey. Set automatically server side.
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.
Campaign ID specified for the last Branch CTA view. Set automatically server side.
Channel specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases.
Feature specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases.
Stage specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases.
Tags specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases.
Human-readable advertising partner name specified for the last Branch CTA view. Set automatically server side.
Secondary publisher specified for the last Branch CTA view. Passed by the ad network.
Creative name specified for the last Branch CTA view. Set automatically server side.
Creative ID specified for the last Branch CTA view. Set automatically server side.
Ad set name specified for the last Branch CTA view. Set automatically server side.
Ad set ID specified for the last Branch CTA view. Set automatically server side.
Ad name specified for the last Branch CTA view. Set automatically server side.
Ad ID specified for the last Branch CTA view. Set automatically server side.
All Branch features (determined by Branch) that 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]. Set automatically server side.
EMAILADSDESKTOPJOURNEYSMOBILE_JOURNEYSDESKTOP_DEEPVIEWSMOBILE_DEEPVIEWSSOCIALQUICK_LINKSAdvertising partner shortcode (for example, e_rs) specified for the last Branch CTA view. Specified by the client.
Whether the Meta mobile data terms have been signed for the last CTA view touch. When true, Meta doesn't require Branch to scrub Meta-related data from this CTA view record.
Set if an event originated with a Branch CTA view on Google AMP or Facebook Instant Article. Specified by the client.
Whether the Meta mobile data terms have been signed for the install touch. When true, Meta doesn't require Branch to scrub Meta-related data from this record.
Whether the Meta mobile data terms have been signed for the reengagement touch. When true, Meta doesn't require Branch to scrub Meta-related data from this reengagement record.
SKAdNetwork ad network ID. Set server side.
SKAdNetwork campaign ID. Set server side.
SKAdNetwork app ID. Set server side.
SKAdNetwork redownload status. Set server side.
SKAdNetwork source app ID. Set server side.
SKAdNetwork conversion value. Set server side.
SKAdNetwork LATD creative name. Set server side.
SKAdNetwork LATD ad set name. Set server side.
SKAdNetwork LATD creative ID. Set server side.
SKAdNetwork LATD ad set ID. Set server side.
SKAdNetwork LATD ad name. Set server side.
SKAdNetwork LATD ad ID. Set server side.
SKAdNetwork LATD campaign ID. Set server side.
SKAdNetwork LATD campaign name. Set server side.
SKAdNetwork LATD campaign. Set server side.
SKAdNetwork annotation 3p shortcode. Set server side.
SKAdNetwork annotation conversion value mapped value. Set server side.
SKAdNetwork annotation conversion value revision. Set server side.
SKAdNetwork annotation campaign ID mapped value. Set server side.
SKAdNetwork annotation campaign ID revision. Set server side.
SKAdNetwork annotation source app ID mapped value. Set server side.
SKAdNetwork annotation source app ID. Set server side.
SKAdNetwork annotation customer event alias. Set server side.
Number of days between when the last touch occurred and when this event subsequently occurred. Set automatically server side.
Number of days between when the last Branch CTA view occurred and when this event subsequently occurred. Set automatically server side.
Iterate over content_items and aggregate the category from each product. Specified by the client.
ANIMALS_AND_PET_SUPPLIESAPPAREL_AND_ACCESSORIESARTS_AND_ENTERTAINMENTBABY_AND_TODDLERBUSINESS_AND_INDUSTRIALCAMERAS_AND_OPTICSELECTRONICSFOOD_BEVERAGES_AND_TOBACCOFURNITUREHARDWAREHEALTH_AND_BEAUTYHOME_AND_GARDENWhether this is the first time for this persona that this event has been triggered. Set automatically server side.
truefalseYou can specify that an event of type "purchase" should have the name "buy20tokens". customer_event_alias captures this name, which is additional information. For most events, this is likely unnecessary.
Format of the returned data: json or csv.
csvjsonThe time granularity that each band value will represent.
dayweekmonthThe maximum number of results to return.
Status of aggregate export. Returns 400, 429, and 500 on failure — see the response panel for the error shape.
