Can I see which search terms brought visitors to my site?

No. The script keeps utm_source and utm_campaign, and it sends a referrer as the site origin only. A search arrives as the search engine, labelled Search, or as Direct when no referrer and no tag were sent. The search-box words are not stored, and there is no raw-event export.

Last updated 26 November 2026. By Paul Badarau.

A fictional bakery wants to know that people searched for sourdough starter. The visit lands from a search engine. The report can show that. It cannot show the words.

The script builds the page address it sends by keeping two query parameters, utm_source and utm_campaign, each cut at 100 characters. Every other parameter, including a search query and utm_term, is dropped before the event leaves the browser. A referrer is sent as the origin plus a slash. The path and the query on the referring page are not included.

What you can read is the source. A known search host, or a matching utm_source, becomes a named source such as Google, and the Acquisition row labels it Search. The campaign is only the utm_campaign you put on a link you control. It is not the contents of a search box.

With no utm_source and no external referrer, the visit is Direct. Many search apps omit the referrer. Those visits are Direct, and the missing query cannot be reconstructed. There is no raw-event export and no identity export. Nothing stored later will contain the phrase.

The product page for this is Analytics.

Start your 14-day free trial