Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Tracking Site Search in Google Analytics

Go to End

5 Posts   1340 Views


Community Member, 33 Posts

12 January 2013 at 6:46am

I dont seem to be able to get my head around setting this up correctly. Can anyone help me out?

The urls on the search results page for my site appear to be:

This would be a search for "search term"

In my GA account I set my query parameter as: Search= but no data is being recorded


Community Member, 201 Posts

13 August 2013 at 4:09am

did you get this sorted?


Community Member, 138 Posts

21 September 2015 at 9:49am

I'm also interested about the solution for this.


Community Member, 166 Posts

21 September 2015 at 2:47pm

Hi Tama & EdwardLewis,

Thanks so much for bumping this post Tama, I was unaware of this data for Google Analytics and it looks to be very useful.
I have been looking to implement something like this into Silverstripe itself, but If Google already does it (and better) why bother.

Okay so to get to answering the question. I was able to get data to Google Analytics by simply using "Search" as the query string.
You dont need to add the "=", just keep it simple.

Just make sure you are using Google Analytics Tracking code and you should be good to go.



Community Member, 33 Posts

19 December 2015 at 4:59am

I did a Google search and came across this post again. Thanks for the info Helen, I did what you suggested last night and today the site search info is being recorded: