How To Activate Internal Site Search In Google Analytics
Internal site search is when a visitor of your website is using the search box on your website to find information. Tracking this information is very useful because every time your visitors are searching for something, they literally tell you in their words what they are looking for. You can see their initial searches, the refined searches when they didn’t find what they were expecting and which pages they searched from.
Google Analytics is offering this feature and all you have to do is to activate it. Here is how to do that:
In Analytics Settings page, click Edit near your website and again Edit in the next page (on the same row with Main Website Profile Information text). You’ll see the Edit Profile Information page, scroll down to Site Search area:

Check the option Do track Site Search and, for the required parameter, you have to check how exactly looks the URL of a search on your website: just insert a keyword in the search box of your website, hit Enter and check the URL in the Address Bar. Usually, this URL ends with ?q=keyword, ?search=keyword or ?s=keyword (for a Wordpress site it is ?s=keyword&x=0&y=0). The text between “?” and “=” represents the requested parameter (for Wordpress, this will be “s“). Insert this parameter in the field, check Yes, strip query parameters out of URL and No to Do you use categories for site search? Save changes and that’s it, you can wait for Analytics to gather data and start analyzing the reports.
In some cases, is possible that your website is not using that search parameters. What can you do? Simple: just add in the Google Analytics code inserted to your pages the following line:
pageTracker._trackPageview(‘/site search/?s=%searchterm’)
where “s” is the same parameter as above.










Leave your response!