Roots Discourse

Google Analytics search tracking using Soil

#1

Using Roots with Soil and want to track site searches. Google allows you to just turn Site Search on and designate the search param see google specs here. I have it set to ‘s’ and ‘search’ but am not seeing any results on the Google site. Anyone have any luck with this?

0 Likes

#3

Thanks for your reply @benword

I’m using Soil nice-search, which changes s to search -not sure what the open issue is. I use the data testing tool but that doesn’t help much. I’m more interested to tracking search terms in google analytics while using soil-nice-search

0 Likes

#4

Sorry, my first reply was irrelevant.

Can you give this a try? http://www.lunametrics.com/blog/2013/07/01/google-analytics-site-search-seo-friendly-urls/

0 Likes

#5

That works as a filter, however there’s a native ‘Site Search Tracking’ in google analytics that has much deeper reporting. All you need to do is give it the param for the site search (you can but up to 5). I specified s, search, /search, /search/ but to no avail. Was thinking Soil was possibly interfering…

1 Like

#6

Did you end up figuring out a search parameter for GA that worked? I am having the same issue, wondering if I need to turn off Soil to be able to track site search?

1 Like

#7

I had to turn off Soil to get this to work. I tried everything from event tracking, various parameters, editing the search-all basically gave me nothing on the Google side. Turning it off worked…

0 Likes

#8

gotcha - really helpful, thanks!

0 Likes

#9

Curious if anyone knows the proper parameter to enter into Google Analytics. Has anyone tried search/ ? Seems to me that is what takes the place of s= when using Soil.

0 Likes