Skip to main content
Feedback

Branch walkthrough

info

Branch API version 1 is currently supported.

This provides a general description of Branch and its capabilities.

Prerequisites

Branch Connection.

Branch reports

The analytics report is the only report in the Branch. This report is coming from the Query API, and it has a low quota limit of:

  • 5 requests per second
  • 20 requests per minute
  • 150 requests per hour

Avoid running multiple rivers or predefined reports in parallel due to this low limit. Instead, run 1 - 3 predefined reports in a single river.

The required fields are:

  1. The branch data source acts as the metrics (the name of the data source is related to the name field).

  2. Dimensions that give an additional breakdown to your output table.

  3. Aggregation: Aggregate your Branch Data Source by Total Count, Unique Count, Revenue, or Cost.

    • Aggregation by Cost is only available for Branch Data Source = Cost.
    • Aggregation by Revenue is only available for Branch Data Source = EO Commerce Event.
  4. Granularity: This is the number of records coming back for the time interval you set in your river. If you choose daily, all records will be broken down by daily result_timestamp.

  5. Filters (not required): Filter out specific records.

    • You can use the exclamation mark to designate a not in your filter. For example, the following snapshot tells the API to return all user data operating systems except for IOS.

The filters are handy when using the Custom Event report to get a specific name for each river (without needing to flatten the custom fields later). For example,

All reports have time dependence with the following limitations:

  1. You cannot get data from before 2017-10-14.
  2. You cannot get a time interval of more than 7 days.

Time-dependent reports

The data in each report will be pulled according to a time field you specify- result_timestamp.

Select a time period: Time-dependent reports support two kinds of time periods:

  1. Date range:
    • Pulls data in the date range between the start and end date provided, including the end date.
    • You must select a start date.
    • Leaving the end date empty will pull data according to the current river run time.
    • Select a timezone offset to send dates based on the offset.
    • Use the Last Days Back For Each Run to expand the start date and pull data from a specified number of days before the chosen start date.

In the example above, the river will run with a date range between 01/03/2020 and 30/03/2020.

  1. Predefined date- A date range defined by Data Integration:
    • Day: Yesterday.
    • Week (From Monday to Sunday): Week to date, Previous week, Previous week to date.
    • Month: Month to date, Previous month, Previous month to date.
    • Year: Year to date.
On this Page