Mobile app version of vmapp.org
Login or Join
Rivera981

: Google analytics site search returns "cache" in search term results, why? Last week I implemented Google custom search on my website and linked it to a Google analytics view. The site search

@Rivera981

Posted in: #GoogleAnalytics #GoogleCustomSearch #SiteSearch

Last week I implemented Google custom search on my website and linked it to a Google analytics view. The site search does not get much traffic as it has been broken for awhile but most of the search term results are:

cache:http://www.example/
cache:http://www.example/pagename/


Obviously these results are junk but what is going on and how can I fix it?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Rivera981

1 Comments

Sorted by latest first Latest Oldest Best

 

@Odierno851

The answer to this question is that a cached version of the webpage has been viewed, and due to the way that the Site Search Settings are configured in Google Analytics, this pageview is being counted as a site search.

When you view the cached version of a page from Google's SERPs, the URL is appended with something like: webcache.googleusercontent.com/search?q=cache:RVAzSsB6xI0J:www.example.com
The Site Search Settings on the website I was dealing with had been set up to regard the site search query parameter as 'q', meaning that whenever 'q' was detected in a URL, any subsequent characters would be considered to be to be an site search query.



I am going to rectify this by changing the query parameter to be more specific (whilst still matching the correct URL structure) to ensure that only true site searches are counted and reported in Google Analytics.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme