Portal | Homepage | Blog

Reporting search keywords to Google Analytics


Search pages are one of the most visited pages of your WebStore. It is therefore vital to keep track of the keywords that were entered by your visitors.

We recently updated our Analytics code to automatically report those keywords to Google. This functionality does not require any extra configuration from your side and is included as soon as the Google Analytics integration is enabled in the WebStore Manager. This is shown in the next picture:

It typically works by adding the following code snippet to Analytics code:

_gaq.push([’_trackPageview’, ‘/search.asp?q=clay+cross’]);

In this example, the visitor is searching for items using the keywords clay cross. These were appended to the dynamically created URL.

Having sent this request, your reports on the Google site will look like this the following screenshot:

Further information on this reporting as well as customizing the display can be found at this link: https://support.google.com/analytics/answer/1012264?hl=en


Having this feature is brilliant and helps us understand what our customers call things and how they search for them.

We have discovered that a lot of people search our site for things using double quotes (") in the search string (to mean inches) eg
3" door knob

This seems to cause chaos, and brings back everything that contains a 3 - whether that be door knobs or lights or whatever.
I can’t think of any reason why anyone would want that- shouldn’t it ignore the " character and search for ‘3 door knob’ which would give the exact results the end user requires?


Hi @emma,

You certainly have a case and we will update our code accordingly.