Open navigation

Google Trends connection guide

Use this guide to connect Google Trends data to your Supermetrics reports.


If you need to connect this data source to one of our data warehouse or cloud storage destinations, explore our prerequisite and filling guides.


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

For Excel users

If your team uses Supermetrics for Excel, you'll see different options for managing and sharing data source connections in that destination. Learn more.


Google Sheets Data StudioExcel

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 Report configuration.
  6. Select Query type.
  7. Select Search by term. 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.


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.