AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
4.2K members online now
4.2K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Track Site Search Settings

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello,

 

I try to track the site search, my query look like this:

www.mydomian.com/search/word

 

Were "word" is the word i put in the search box. My question is, what is my query parameter?

Should i pick ""strip query parameters out of URL?" 

BTW: i use wordpress.

 

Thank you!

1 Expert replyverified_user

Re: Track Site Search Settings

Explorer ✭ ✭ ✭
# 2
Explorer ✭ ✭ ✭
Hi Stonk,

Option 1: Configure your web application to append the query keywords to the end of the URL (e.g., http://www.yoursite.com/search_results.php?q=keyword) and then set up Site Search as described in the previous section.

Option 2: Customize the tracking code on your results page to dynamically specify a virtual page path that includes the query keywords.

https://support.google.com/analytics/answer/1012264?hl=en

Re: Track Site Search Settings

Top Contributor
# 3
Top Contributor
Hi Stonk,

There is one more option, it works by setting up a filter that extracts the search term from the URL and passes it as the search term to GA. Using this method you don't need to make any changes to your website or to your tracking code.

http://www.lunametrics.com/blog/2013/07/01/google-analytics-site-search-seo-friendly-urls/

Hope this helps.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital