Open navigation

Google Trends connection guide

Follow these steps to connect your Google Trends data to Supermetrics and use your data in any of our data destinations — Google Sheets, Looker Studio, Excel, data warehouses, and Power BI, as well as the Supermetrics API. You can also connect to data sources from the Supermetrics Hub.


You can share your data source connection with your team and use the connection across all data destinations you use with Supermetrics. Learn more about shared connections.


Before you begin

Google Trends is a publicly available data source, so you don't need an account or any special permissions to access it.


Use it to:

  • Inspect the popularity of one or multiple Google search terms over time
  • Compare up to 50 search terms at once
  • Inspect search term popularity by geolocation
  • Fetch trending searches by country
  • Fetch data by search term or by topic

Search volume is returned as a relative metric, where 100 represents the highest volume within the time range selected.


In Google Trends, you can search for a specific search term or a topic that contains multiple search terms. Explore Google's documentation to learn about the difference between search terms and topics.


To query for a topic, you need to get a unique identifier called topic code for the topic you want to query. Follow these steps to find the topic code and build a query for a topic:

  1. Search for a topic on Google Trends.
  2. Copy the topic code from the browser's URL bar — this is the last section of the URL, beginning with a % symbol after a comma or equal sign (=). See the screenshot below.
    In this example, the topic code starts after the comma. Note that the search term isn't encoded, which makes it different from a topic.
    If you have searched for one topic only, the topic code starts with the % symbol that follows the equal sign.
  3. Decode the topic code. Sites like URL Decoder are helpful for this.
  4. Insert the decoded topic code into the Search term field in Supermetrics when you're creating your query.


Instructions

Google Sheets

Make sure you've installed the Supermetrics add-on before you connect.

  1. Open a new Google Sheets file.
  2. Navigate to ExtensionsSupermetricsLaunch sidebar to open Supermetrics.
  3. Click Create new query.
  4. Under Data source, select Google Trends.
  5. Click Start.
  6. Navigate to Report configuration, and select a query type.
  7. Enter the search term or topic code (see Query topics in Google Trends above) for each search term you'd like to query, separated by a comma with no whitespace (,).

Learn about advanced settings, best practices, and troubleshooting tips for Supermetrics for Google Sheets.

Looker Studio
  1. Open the Supermetrics Looker Studio data source gallery.
  2. Navigate to Google Trends and click Start free trial.
  3. You'll see two buttons that read Authorize. If you're using Supermetrics for the first time, click the left-hand one and log in with the Google Account you use with Supermetrics.
  4. Once that's done, or if you've done it before, click the right-hand Authorize button (under "Google Trends requires authorization to connect to data").
  5. Select a team that has access to the account you want to connect.
  6. Choose to make this connection shared or private.
  7. Click Start.
  8. Select a query type and click Next.
  9. Enter the search term or topic code (see Query topics in Google Trends above) for each search term you'd like to query, separated by a comma with no whitespace (,).
  10. In the pane's top right, click Connect.
  11. Click Create report.
  12. Click Add to report.

Learn about advanced settings, best practices, and troubleshooting tips for Supermetrics for Looker Studio.

Excel

Make sure you've installed the Supermetrics add-on before you connect.

  1. Open an Excel file.
  2. Click DataShow Supermetrics.
  3. Under Data source, select Google Trends.
  4. Choose to make this connection shared or private.
  5. Click Start.
  6. Navigate to Report configuration, and select a query type.
  7. Enter the search term or topic code (see Query topics in Google Trends above) for each search term you'd like to query, separated by a comma with no whitespace (,).

Learn about advanced settings, best practices, and troubleshooting tips for Supermetrics for Excel.

Data warehouse

Follow these instructions to set up a transfer with Supermetrics for BigQuery (marketplace). See the instructions below for other data warehouse destinations.


Set up transfer for BigQuery (marketplace)

Make sure you've enrolled the data source before you connect.

  1. Log in to the Google Cloud Platform.
  2. Navigate to BigQueryData transfers.
  3. Click + Create transfer.
  4. Select the Google Trends data source.
  5. Fill in the transfer details. See detailed instructions on how to set up a transfer.
  6. Under Third-party connection, click Connect source.
  7. Accept the agreement.
  8. Click Authorize with Google Trends.
  9. Click Start.
  10. Select the search terms you'd like to include in your reporting and define the transfer settings.
  11. Click Submit.
  12. Click Save.


Set up data warehouse transfer on the Supermetrics Hub

Make sure you've set up a data warehouse destination before you connect.

  1. Log in to the Supermetrics Hub.
  2. In the sidebar, go to StorageTransfers.
  3. Click New transfer. If you haven't created any transfers yet, click Schedule first transfer
  4. Select the Google Trends data source, and click OK.
  5. Fill in the transfer details. See detailed instructions on how to set up a transfer.
  6. In the Connections section, click Add new connection.
  7. Click Start.
  8. In the transfer setup view, select the search terms you'd like to include in your reporting.
  9. Click Create transfer.
Power BI
  1. Log in to the Supermetrics Hub.
  2. In the sidebar, go to DestinationsPower BI.
  3. Click Create or edit queries.
  4. Click Select a data source.

  5. Select the Google Trends data source.
  6. Click Start.
  7. Fill in the query details.
  8. Click Run query to test your query.
The Supermetrics API
  1. Log in to the Supermetrics Hub.
  2. In the sidebar, click API.
  3. Select for Supermetrics API from the dropdown menu next to the page title.
  4. Click Select data source.
  5. Select the Google Trends data source.
  6. Click Start.
  7. Fill in the query details. See detailed instructions on how to set up a Supermetrics API query in Query Manager.
  8. Click Run to test your query.
Supermetrics Hub
  1. Log in to the Supermetrics Hub.
  2. In the sidebar, click Data sources.
  3. Scroll down to the list of data sources you haven't connected to. You see this list below your existing connections, under the title Connect to new data source.
  4. Hover over the Google Trends data source, and click Connect.
  5. Click Start.


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.