How to Track Search Terms with Google Analytics
Wondering where your keyword data went in Google Analytics? You're not alone. For years, the dreaded "(not provided)" has hidden the very terms people use to find your site, but there's a straightforward fix. This tutorial will walk you through exactly how to connect Google Search Console to Google Analytics 4 so you can get that valuable search query data back where you need it.
What Happened to My Keyword Data in Google Analytics?
If you've used Google Analytics for a while, you probably remember a time when the Organic Keywords report was a goldmine of information. It showed you every single search term that brought visitors to your site. Then, around 2011, Google began encrypting search queries to protect user privacy, a change they rolled out progressively. This meant a steadily growing percentage of your keyword data started showing up as one frustrating phrase: "(not provided)".
This was done in the name of privacy. When users are logged into a Google account and perform a search, their activity is handled over a secure (SSL) connection. That security layer prevents the specific keyword data from being passed along to Google Analytics.
While the privacy motivation is understandable, it left marketers and site owners in the dark. How could you know which keywords were driving results? How could you optimize your content if you didn't know what people were searching for?
Fortunately, Google didn't leave us completely stranded. They provided another tool, Google Search Console (formerly Webmaster Tools), which acts as a direct line of communication between your website and the Google search engine. And the best part? It still houses all that precious search query data. The key is simply to bring that data into Google Analytics where you can analyze it alongside your site's engagement and conversion metrics.
Connect Google Search Console to Google Analytics 4
The solution to the "(not provided)" mystery is to create a link between your GA4 property and your Google Search Console property. This integration pipes search performance data directly into your Analytics reports, giving you a powerful, unified view of how people find you and what they do afterward.
Before you begin, make sure you have the right permissions. You’ll need to be a Verified owner of the Google Search Console property and have Administrator role access for the Google Analytics 4 property.
Step-by-Step Instructions:
Follow these steps to link your accounts. The process is quick and only takes a minute or two.
- Navigate to the Admin Panel in GA4 Log into your Google Analytics account. In the bottom-left corner, click on the gear icon labeled "Admin" to open the administration settings for your property.
- Look for Product Links In the Admin panel, you'll see a column for "Property." Scroll down within this column until you find the "Product Links" section. This is where you can connect various Google products to your Analytics account.
- Click on "Search Console Links" Under the "Product Links" heading, click on the option that says "Search Console Links." This will open the linking interface.
- Create a New Link On the Search Console links screen, you'll see a blue "Link" button in the top-right corner. Click it to start the setup process.
- Choose your Search Console Property A new panel will slide out prompting you to “Choose a Search Console property." Accounts that you are a verified owner for will be automatically listed. Click "Choose accounts" and a list of your available Search Console properties will appear. Select the one that matches your GA4 property and hit "Confirm."
- Select your Web Stream Next, you’ll be asked to select the "web stream" for the link. Your website's data stream should be listed here. Click "Select" and choose the appropriate stream, then click "Next."
- Review and Submit The final screen gives you a quick overview of the connection you’re about to create: your chosen Search Console property and your selected GA4 web stream. Double-check that everything is correct and click the blue "Submit" button.
That’s it! You’ll see a "Link created" confirmation message. It can take up to 48 hours for data to start flowing from Search Console into your GA4 reports, so don’t worry if you don’t see it immediately.
How to Find and Use Your Search Query Reports in GA4
Once you’ve linked the accounts and waited for the data to populate, you won't see the new reports in your standard navigation right away. You need to "publish" them from the report Library so they are easy to access.
Adding the Search Console Reports to your sidebar:
- Navigate to the Reports section in the main left-hand menu.
- At the very bottom of the report menu, click on Library.
- In the Library, you’ll see collections of reports. Look for a card titled Search Console.
- Click the three vertical dots on this card and select Publish from the dropdown menu.
Once you publish the collection, you’ll see a brand new "Search Console" section appear in your main reporting navigation on the left. Now you can click it to find two valuable reports:
- Queries: This report shows the actual search terms people typed into Google to find your website.
- Google Organic Search Traffic: This is a landing page report, showing which of your pages rank and receive traffic from organic search.
Key Metrics in Your New Reports Explained
Inside these reports, you can finally see your keyword data right alongside key search performance metrics. Here’s what the most important ones mean:
- Google Organic Search Clicks: The total number of clicks from a Google search results page that landed a user on your website.
- Google Organic Search Impressions: The number of times a link to your site appeared in search results for a particular query.
- Google Organic Search Click-Through Rate (CTR): This is the percentage of impressions that resulted in a click (Clicks ÷ Impressions). A higher CTR generally means your page title and meta description are compelling and relevant to the query.
- Google Organic Search Average Position: This is the average ranking of your website's URL for a query. For example, a position of 4.2 means your content is typically appearing around the 4th spot on the first page.
By analyzing these metrics, you can identify a huge range of opportunities. Look for keywords with high impressions but low CTR - it could suggest that rewriting your page title might encourage more clicks. Or find keywords where you rank on page two (average position 11-20) and focus your SEO efforts on pushing them to page one for a significant traffic boost.
How to Track Site Search Terms in GA4
Besides tracking what users search for on Google, it’s also incredibly valuable to know what they're searching for on your own website. On-site search data reveals exactly what your users are looking for, in their own words, once they've already arrived. This can highlight content gaps, expose navigational problems, or give you new ideas for products or features.
Luckily, GA4 makes tracking on-site search incredibly easy with its Enhanced Measurement feature, which is typically on by default.
Setting Up On-Site Search Tracking:
- Go to your GA4 Admin panel.
- In the "Property" column, click on Data Streams and select your website's stream.
- Under "Events," make sure the Enhanced measurement toggle is on.
- Click the gear icon to the far right to see and manage the specific events being tracked.
- Find Site search on the list. Usually, GA4 automatically detects common search query parameters (like q, s, search, query, keyword). If your website uses a different one, you can add it in the advanced settings here.
You can then look for an event in GA4 called view_search_results. This represents every instance of someone performing a search on your website.
To view on-site search terms after setup:
- In Reports, go to the engagement → events page.
- In this event list, find
view_search_results. - Find the "search parameter" chart.
The Search Term column will give a list of all site search terms visitors have searched over the selected time frame, providing some excellent customer insight.
Final Thoughts
Connecting Google Search Console to Google Analytics 4 is the modern, essential method for tracking the organic search terms that drive visitors to your website. While the days of seeing every keyword directly in Analytics are gone, this integration provides a powerful - and arguably more useful - view by pairing search queries with performance metrics like clicks, impressions, and average position.
Ultimately, a deep understanding of your business comes from bringing all your data together in one place. We built Graphed to do exactly that by instantly connecting sources like Google Analytics, Search Console, Shopify, and your ad platforms without any complex configurations. Instead of hunting through different report menus, you can just ask in plain English, "Show me my top 10 search queries sorted by click-through rate" and get an answer in seconds, which frees you up to work on strategy instead of struggling with report building.
Related Articles
How to Enable Data Analysis in Excel
Enable Excel's hidden data analysis tools with our step-by-step guide. Uncover trends, make forecasts, and turn raw numbers into actionable insights today!
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.