Cardinal Path’s response to COVID-19 Cardinal Path is sharing all we know to help marketers during COVID-19.  Learn more.

Knowing how Google Analytics retrieves data from the web is one piece of the puzzle of understanding how well your site is performing. Often we forget all the things that go on behind the scenes and only look at the data as is.

It is important for SEOs to understand that there may be instances where “strange” keywords will appear in your reports. These keywords are classified under source=”google” and medium=”organic”.

So what am I talking about here!?

Those Strange Keywords in our Google Analytics report

Those keywords that we began seeing in our reports were ones like: “view:popular” and “section:”sci/tech”.

I then turned to my colleague Eduardo Cereto and asked if he’s seen anything like this before (if you know Eduardo, then you know that there’s a good chance that he’d seen something like this before). So why is this? Well… Google Analytics identifies a Google organic source every time the referred for the first pageview contains “google” on the domain and a query parameter “q” (the “q” is later used as a keyword).

The Problem

The problem is that Google News seems to send a “q” parameter sometimes and that is not a typed keyword, but instead a result of the user refining news using the left navigation on Google News. We start seeing things like this:

This is what I see on the destination site ( in this case). Looking at the cookies and referrer on the console.

> document.referrer
&gt; document.cookie.split(';')

["SESSIONSCOPETESTED=1", " HASSESSIONSCOPE=1", " CFID=35991131", " CFTOKEN=83575362", " LASTVISIT=%7Bts%20%272011%2D08%2D24%2015%3A56%3A01%27%7D", " __utma=217479050.1101957297.1314215765.1314215765.1314215765.1", " __utmb=217479050.1.10.1314215765", " __utmc=217479050", " __utmz=217479050.1314215765.1.1.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=topic:mobile_industry"]

Because Google News is using the “q” parameter, this referrers is not a referral visit anymore but an organic visit and the keyword is set to the value of the “q” parameter.  It doesn’t happen every time since sometimes Google News doesn’t use the “q” parameter but we’ve seen a few instances on the U.S. edition that has it. Otherwise, the absence of the q parameter it’s treated as a referral of

‘Temporary’ Workaround

There is a ‘temporary’ workaround for this until Google fixes the bug on their end. I say temporary because once implemented, careful monitoring is required to ensure that this piece of code is removed once the fix comes up on Google’s side.

function fixGoogleNews(){
    if(document.referrer &amp;&amp; document.referrer.indexOf('//')){
        _gaq.push(['_setReferrerOverride', '']);

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXX-1']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

This is not pretty, but it does fix the problem. Have you come across a similar problem? Please share any thoughts you might have below!