How to Track Organic Search Keywords in Your Analytics
"Which keywords are bringing traffic to my site?" is one of the most common questions in analytics — and also one of the most frustrating to answer. Google hides most query data behind "(not provided)". Bing, DuckDuckGo, and other engines vary in what they expose. Still, with the right setup, you can recover a meaningful slice of keyword visibility.
Why Search Keywords Are Mostly Hidden
Around 2011–2014, Google moved nearly all its searches to HTTPS and stopped passing the query parameter to the destination site's referrer. The official reason was user privacy. The practical result: when a visitor arrives from Google, you usually see only that they came from google.com, not what they searched.
Bing, Yahoo, and DuckDuckGo behave inconsistently. Some still pass the query in the referrer, some don't, and behavior changes over time.
What You Can Still See
Despite Google's redaction, there are still several ways to recover keyword data:
1. Referrer Query Parameters
When a search engine does pass the query parameter, analytics tools parse it from the referrer URL. statpx automatically extracts these parameters when present:
For each, the keyword (after q= or p=) is recorded and grouped in your keywords report. No setup needed — it just works.
2. URL Parameters You Control
If you run search ads, add UTM parameters with the keyword in utm_term. Then your analytics groups paid-search visits by exact keyword.
3. Google Search Console
For Google organic queries specifically, Search Console is the source of truth. It shows queries, impressions, clicks, and average position — none of which are passed via referrer. Most site owners use analytics + Search Console together to get a complete picture.
How statpx Handles Search Keywords
statpx looks at the Referer header on every pageview and parses it for known search-engine query parameters:
- Bing —
q - Yahoo —
p - DuckDuckGo —
q - Yandex —
text - Baidu —
wdorword - Ecosia —
q - Brave Search —
q
When the parameter exists, the keyword is stored alongside the pageview. When it doesn't (most Google traffic), the referrer is still recorded — you'll just see it as "google.com" with no keyword. To dig further on these, check our referral traffic guide.
Pairing Keywords With Pages
Knowing a keyword in isolation isn't actionable. The question is: which page ranked for that keyword? statpx links each keyword event back to the page that received the visit. This lets you answer:
- Which long-tail queries are landing on my pillar articles?
- Which pages are pulling unexpected keyword variations?
- Where do I have keyword overlap (multiple pages competing)?
For a broader workflow that turns this data into ranking improvements, see how to use analytics to improve SEO.
Common Pitfalls
Don't Compare to Search Console Directly
Search Console counts clicks. Analytics counts pageviews. The numbers will never match exactly — analytics is usually lower because some clicks bounce before the tracker fires.
Don't Optimize for One-Off Queries
A keyword that brought one visitor last month is noise, not signal. Filter to keywords with at least 5–10 visits before drawing conclusions.
Don't Forget Branded vs Non-Branded
"yoursite.com login" is a branded query — it tells you nothing about SEO performance. Separate branded from non-branded queries before evaluating organic strategy.
See real keyword data from your visitors
statpx parses search referrer parameters automatically and shows you keywords + landing page combos. Free, no setup.
Try statpx free →The Realistic Expectation
You're not going to recover every keyword. Most of your Google organic traffic will remain "(not provided)" no matter what tool you use. What you can do is:
- Capture the keywords that other search engines still pass
- Track paid-search keywords precisely via UTM
- Pair Google Search Console queries with analytics page data
- Use this combined view to prioritize content updates
It's not perfect intelligence — but it's enough to make smart content decisions every week. That's the bar that matters.
The Bottom Line
Most of your Google organic traffic will stay hidden no matter what tool you use — that is simply the reality of how HTTPS referrers work. The practical move is to stop chasing that lost data and instead build a complete picture from the sources that are still open: parse the query parameters that Bing, DuckDuckGo, and other engines pass, tag every paid-search keyword with utm_term, and pull Google queries from Search Console. statpx automatically captures search keywords from referrer parameters and pairs them with the landing page on each visit, giving you a keyword-to-page report without any extra setup.