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

I currently have Google Analytics on my site, and one of it's useful functions is that it gives me a nice breakdown of all the search terms people are using to search my site (my site has it's own custom search engine).

However, I've recently noticed that it seems to treat two identical searches with different case as two different search terms. For example: I have both banana and BANANA listed as two separate search terms, each with their own counts.

As I'm sure you can imagine this can get quite annoying when trying to track what users on my site are searching for...

So is there some way to fix this, or is it a bug?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

You can create a filter. A custom filter allows you to manipulate Google Analytics input data, such as the URL or the query string. You can downcase the incoming URL, in this way the query string will always be lower case and Google Analytics won't duplicate the searched term.

share|improve this answer
    
Simone, can you provide a walkthrough or link specifically for doing it with Site Search? I'd also found the links you provide above, but every reference to them always talks about external search keywords and sometimes even specifically mentions this not working with Site Search. Something to do with the filter being applied before the data is processed by the GA report or similar; I could never quite follow. (I'll try and dig it up again.) –  Su' Oct 3 '11 at 8:55
    
I believe this is the topic for a new question. However, Site Search is based on a query string parameter you specify in your GA account for that profile. Simply create a new Search & Replace filter clicking Add Filter > Custom filter > Search & Replace > Request URI –  Simone Carletti Oct 3 '11 at 9:43
add comment

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.