Open navigation

About API rate limits and discrepancies in Branch

If you're experiencing issues with rate limits in the Branch data source connector, or if there are discrepancies in your data, there are some things you can do to work around them.


Low rate limits

Our Branch data source connector has rate limits that affect the granularity of the provided data. Heavy usage of the data source connector may also cause rate limit errors.


The API rate limits are tied to your own Branch account. The standard limits set by Branch are currently:

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

Each metric included in a Supermetrics query will consume 1 request, and each week of time range will also consume 1 request.


Due to this, select the metrics and time range in your queries carefully, or you may see a rate limit error when using the connector.


If these rate limits are too low for your use case, consider reaching out to your Branch account manager for assistance in increasing your limits.


Country data

In Branch, there are two country-related dimensions:

  • The Country dimension is determined by the user's IP address.
  • The Country code dimension is manually set by the user.


If you encounter discrepancies while fetching data using the Country dimension, try running a query using the Country code dimension, and vice versa.


Discrepancies

The Branch dashboard UI has 2 checkbox options for filtering data (Organic and Unique) as well as its own data filtering algorithm that the user can't control.


However, the Branch Query API returns raw data and does not use the same options. This can cause discrepancies when comparing data from the native Branch UI with data from the Supermetrics data source connector.


To align the data source connector's results more closely with the Branch UI, you can apply specific settings during the query setup according to the table below. Please note that even with the applied filters, a 5-10% discrepancy is expected.


Branch: Summary dashboard setting

Supermetrics: Query type

Supermetrics: Filter

NoneSummary (total)

Views and Page views metrics:

  • Platform does not equal ROBOT
  • Platform does not match regex ^\s*$
Standard, commerce, content, lifecycle, and custom metrics (excluding Views and Page views):
  • Platform does not equal ROBOT
  • Platform does not equal FALSE
Cost and revenue metrics:
  • Is attributed equals true
OrganicSummary (total)

Views and Page views metrics:

  • Platform does not equal ROBOT
  • Platform does not match regex ^\s*$
Standard, commerce, content, lifecycle, and custom metrics (excluding Views and Page views):
  • Platform does not equal ROBOT

Cost and revenue metrics:

  • No filter
Unique

* Daily split must be selected in the UI dashboard for the data to match


Summary (unique)

Views and Page views metrics:

  • Platform does not match regex ^\s*$

Standard, commerce, content, lifecycle, and custom metrics (excluding Views and Page views):

  • Is attributed does not equal FALSE

Cost and revenue:

  • Is attributed equals true
Organic & Unique

* Daily split must be selected in the UI dashboard for the data to match



Summary (unique)

Filter for all metrics:

  • Platform does not equal ROBOT
  • Platform does not match regex ^\s*$

Cost and revenue:

  • No filter

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.