Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

We want to capture aggregated, anonymous search query history for analytic purposes to improve our internal search engine performance and metadata practices.

I found this article: https://support.google.com/analytics/answer/1012264?hl=en

Unfortunately, our search engine uses a hash tag instead of a question mark (nonstandard query string).

For example: http://www.example.com/search#q=search%20term

Is there a way to configure Google Analytics to recognize hash tag values in the URLs and capture these given a defined pattern?

share|improve this question
    
Hi @user33769, did you ever solve this? –  shanabus Aug 25 at 13:09

1 Answer 1

I'm not certain about the # aspect but under the admin settings find the "track internal site search" setting and enable it. It won't allow you to enable it without including the query parameters and I assume you can just specify them there (up to 5).

I believe this is true in ga.js and analytics.js (aka 'Universal Analytics' which is now in public beta...for sure it is in Universal, but I think it's in ga.js as well)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.