Open navigation

How to use the Query Manager

The Query Manager tool allows you to easily construct queries to pull your data with the Supermetrics API and output CSV- or JSON-formatted data for a range of destinations. You can access the Query Manager in the Supermetrics Team Site.


Before you begin

The Query Manager can be used with a Supermetrics API license. Please contact our sales team for a quote.


If you don’t have a license yet, you can test the Query Manager with a 14-day trial license for any data source. The trial license will be created automatically when you authenticate the data source with Supermetrics. You can start one trial per data source, for as many data sources as you want.


Instructions

  1. Log in to the Team Site.
  2. Navigate to Integrations → Query manager.
  3. In the sidebar on the left, build your query.
    1. Select the data source from the list of options and continue to authenticate it. Explore our data-source-specific authentication guides for instructions.
    2. Select the data source accounts to include. Depending on the data source, this can mean properties such as ad accounts, views, or pages.
    3. Under Select dates, set the date range for your query, either from the list of pre-set dynamic date ranges, or by setting custom start and end dates.
    4. Under Select metrics, select what metric data to include in your query.
    5. Under Split by dimensions, select dimensions to split your metric data to rows or columns.
    6. Optionally, under Filter, you can apply filters to your data.
    7. Optionally, under Options, you can define data-source-specific options and set advanced settings to your query.
  4. When you’ve configured your query, click Run to test it.
    • You can see your data in a preview table and raw JSON format to ensure the data is returned as expected.
  5. Select a format option for the query URL depending on your data destination. See our guides for how to connect your data to Power BI, Qlik Sense, or Tableau.

    The query URL includes an API key that gives anyone with the URL access to your data. Treat this as you would a password and keep it safe. If you need to share the URL publicly, use the Short URL option that does not display your API key.

    • You can also export the data directly in CSV or JSON format.


More resources


Did you find it helpful? Yes No

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