Guide

How to see search terms in Google Analytics 4: Google keywords and site search

Google Analytics 4 shows how many visitors come from Google, but not what they searched for. This guide shows where those keywords are, how to see the terms people type into your own site search, and how to ask Claude or ChatGPT for both in one chat.

Last updated

Two kinds of search terms

"Search terms in Google Analytics" can mean two different things, and GA4 handles them differently.

Search termsExampleIn GA4?Where to find them
Google searches that bring visitors"best hiking boots for wide feet"NoGoogle Search Console, or its reports linked into GA4
Searches on your own site"tent footprint"Yes, when site search tracking is onThe searchTerm dimension of the view_search_results event

Why GA4 does not show Google keywords

Google Search sends visitors to your site without the query they typed. Universal Analytics showed these visits with the keyword "(not provided)". GA4 has no organic keyword report at all. It tells you that a session came from google / organic and which page it landed on, and nothing about the search.

The queries are in Google Search Console. Search Console reports every query that showed your pages, with clicks, impressions, CTR and average position. It covers Google Search only, so other search engines are not in it.

Option 1: Link Search Console to GA4

This puts a Queries report inside GA4. You need to be an owner of the Search Console property and have the Editor role in GA4.

  1. In GA4, open Admin → Product links → Search Console links and select Link.
  2. Choose your Search Console property, then the web data stream, and submit.
  3. Open Reports → Library, find the Search Console collection and publish it.
  4. Open Reports → Search Console → Queries.

The Queries report shows clicks, impressions, CTR and average position for each query. It does not tie a query to sessions or key events, because Google never passes the query to your site. You build each view in the GA4 interface, one report at a time.

Option 2: Ask Claude or ChatGPT

QuerySail runs two hosted MCP servers, one for Google Search Console and one for Google Analytics 4. MCP, the Model Context Protocol, lets an AI app call outside tools when a question needs them. Add both servers and you can ask for search terms, landing pages and key events in the same chat, without the GA4 product link.

Connect both servers

  1. Create a QuerySail account. The trial needs no card.
  2. Open Account → Connections. Select Connect Search Console, then Connect Google Analytics, and approve read-only access on Google's consent screen each time.
  3. Add both endpoints below to your AI app as two separate connectors, and sign in with your QuerySail account when each one asks.
https://mcp.querysail.com/gsc/mcp
https://mcp.querysail.com/ga4/mcp

The steps for each AI app are in how to connect Search Console to ChatGPT and Claude and how to connect GA4 to ChatGPT and Claude. Do them once for each endpoint.

Six prompts to try

The prompts use the sample site Sample Outdoors. Replace the property names, dates and URLs with your own.

1. Check that both servers answer

Which Search Console properties and which Google Analytics properties can you access?

Tool: list_properties (both servers)

Each server has its own list_properties tool. Note the two IDs for the same site, for example sc-domain:sample-outdoors.example in Search Console and properties/100000001 (Sample Outdoors (web)) in Google Analytics.

2. List the Google search terms that bring clicks

For sc-domain:sample-outdoors.example, show the top 25 queries by clicks for the last 28 days, with impressions, CTR and average position.

Tool: get_performance

These are the keywords GA4 cannot show you. With no dates, QuerySail uses the last 28 finalized days in Pacific Time and names the exact dates in the answer.

3. See the search terms behind one landing page

Which queries bring clicks to https://sample-outdoors.example/blog/best-hiking-boots? Then, for Sample Outdoors (web), show sessions, engagement rate and key events for the landing page /blog/best-hiking-boots where source / medium is google / organic, for the same dates.

Tool: get_performance, then run_report

Search Console filters to the page and groups by query. GA4 filters on landingPage and sessionSourceMedium, so you see what the visitors from those searches did next. GA4 cannot split those sessions by keyword, so read the two results side by side.

4. Find the search terms that changed

For sc-domain:sample-outdoors.example, which queries gained or lost the most clicks in the last 28 days compared with the 28 days before?

Tool: compare_performance

The answer gives both totals, splits the change in clicks into an impressions part and a CTR part, and lists the top gaining and losing queries. Use it when organic sessions in GA4 rise or fall and you want to know which searches moved.

5. List what visitors type into your site search

For Sample Outdoors (web), show the top 20 search terms by event count for the last 28 days. Use the searchTerm dimension and only count the view_search_results event.

Tool: run_report

This is the other meaning of search terms: words typed into the search box on your own site. GA4 records them in the searchTerm dimension when site search tracking is on. An empty result usually means the setting is off, not that nobody searched.

6. Turn both lists into a to-do list

Compare the site search terms with the Google queries. Which topics do visitors search for on the site that bring few clicks from Google? Which Google queries have many impressions but a CTR below 0.02?

No tool call. Your assistant works with the rows it already has.

Your assistant works with the rows it already has. Site search terms with no matching Google queries are topics you may be missing a page for. Queries with many impressions and a low CTR are pages whose title and description may not match the search.

Example result

Made-up example. We invented these numbers to show the shape of a result. They do not come from a real site or a QuerySail customer. For October 12 to November 8, 2026, Search Console dates in Pacific Time and GA4 dates in the property's time zone:

Google search terms for sc-domain:sample-outdoors.example, from Search Console:

QueryClicksImpressionsCTRAvg. position
best hiking boots61018,4000.0334.1
winter camping checklist4806,9000.0702.6
how to waterproof a tent455,2000.0099.8

Site search terms for Sample Outdoors (web), from GA4:

searchTermEvent count (view_search_results)
tent footprint320
wide hiking boots210
returns140

Read it like this. "how to waterproof a tent" has 5,200 impressions but a CTR below 0.01 at position 9.8, so the page that ranks for it needs a title that matches the question, or better content to move up. Visitors search the site for "tent footprint" 320 times, but no Google query about footprints appears, so a page on that topic may be missing. "wide hiking boots" appears in site search, which suggests the hiking boots page does not answer that question clearly enough.

The data shows what happened, not why. Treat your assistant's explanations as ideas to test.

Limits to know

Try it on your own site

QuerySail costs $8 a month for both servers after a 7-day free trial with no card. To compare the two products in more depth, read Google Search Console vs Google Analytics. To find queries that are close to the first page of results, read how to find striking-distance keywords.

Questions, answered

Something else? See support.

Can you see search terms in Google Analytics 4?

Only some of them. GA4 records the words visitors type into your own site search, in the searchTerm dimension. It does not record the Google searches that brought visitors to your site. Those come from Google Search Console, which you can link to GA4 or read directly.

Why does Google Analytics not show organic keywords?

Google Search sends visitors over HTTPS and does not pass the search query to the site they click. Universal Analytics reported these visits as "(not provided)". GA4 does not have an organic keyword report at all. The query data stays in Google Search Console.

What does "(not provided)" mean in Google Analytics?

It is the keyword value Universal Analytics showed for organic visits from Google, because Google did not pass the search query. To see those queries, use the Queries report in Google Search Console, or link Search Console to GA4.

How do I see Search Console queries inside GA4?

Link the two in GA4 under Admin → Product links → Search Console links, then publish the Search Console collection under Reports → Library. The Queries report then appears under Reports → Search Console. You need to be an owner of the Search Console property and have the Editor role in GA4.

Why is the searchTerm dimension empty in GA4?

Site search tracking is probably off, or your site uses a query parameter GA4 does not check. In GA4, open Admin → Data streams, select the web stream, open Enhanced measurement and check that Site search is on. Add your site's search parameter, such as s or term, if it is not in the list.

Do I need to link Search Console to GA4 to use QuerySail?

No. QuerySail reads each product through its own Google API, so the product link in GA4 Admin is not needed. You connect each product once in your QuerySail account.

Does this cost extra?

No. Search Console and Google Analytics are on the same $8 per month plan. The 7-day free trial needs no card.