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 data warehouse and cloud storage setup 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.
Query topics in Google Trends
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:
- Search for a topic on Google Trends.
- 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. - Decode the topic code. Sites like URL Decoder are helpful for this.
- Insert the decoded topic code into the Search term field in Supermetrics when you're creating your query.
Instructions
Make sure you've installed the Supermetrics add-on before you connect.
- Open a new Google Sheets file.
- Navigate to Extensions→ Supermetrics → Launch sidebar to open Supermetrics.
- Click Create new query.
- Under Data source, select Google Trends.
- Click Report configuration.
- Select Query type.
- 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.
Make sure you've connected Supermetrics to Looker Studio before following the steps below.
- Open the Supermetrics Looker Studio data source gallery.
- Navigate to Google Trends and click Start free trial.
- 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.
- 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").
- Select a team that has access to the account you want to connect.
- Choose to make this connection shared or private.
- Click Start.
- Click Report configuration.
- Select Query type.
- 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 (,).
- Scroll down to the bottom of the page. To create a report with our template, select Use report template for new reports. To create a blank report, deselect this option.
- In the pane's top right, click Connect.
- Click Create report.
- Click Add to report.
Learn about advanced settings, best practices, and troubleshooting tips for Supermetrics for Looker Studio.
Make sure you've installed the Supermetrics add-on before you connect.
- Open an Excel file.
- Click Data → Show Supermetrics.
- Under Data source, select Google Trends.
- Choose to make this connection shared or private.
- Click Report configuration.
- Select Query type.
- 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 Excel.