HELP. Google tracking codes appearing in organic results
Featured threads
- How relevant do links need to be? 13 replies
- Tracking Online Response to Marketing/Communications Activities 3 replies
- Behavioural targeting software 4 replies
- Penalty avoidance on English-speaking foreign sites 5 replies
- 3 way linking - good or bad? 21 replies



eCommerce manager at Identity Direct / Ortega
21 August 2009 01:32am
Hi
I googled this and could not find a suitable answer.
Basically a site i have started working with has affiliate tracking variables are appearing in googles organic results.
So for example several of my pages are indexed by google as
http://www.mysite/index.html?lang=en-uk&target=x.html&utm_source=clixgalore&utm_medium=banner&utm_campaign=clixgalore&mid=30710
This is not great for two reasons.
1. My Google analytics results are going to be wrong/overstated
2. I am likely to be overpaying Clixgalore as traffic from these organic google clicks will be misreported as Affiliate traffic.. when its clearly not.
So three questions.
1. How did this happen? I presume Google indexed my affiliates. Would the "rel=nofollow" be the most appropriate fix? If not.. then?
2. wishful thinking but How can i get my URL's relisted correctly... i presume there is no way to remove all my links rapidly with these paramaters in them?
3. Critically. How do i prevent Google tracking tags (or any other parameter tags) being indexed again. wrongly.
thanks all for any thoughts.
tricky one
Technical Project Manager (MBA, MBCS, CITP, CEng) at Naxtech.com
21 August 2009 08:36am
Hi Jon,
Does this help at all?
regards,
Denis
www.naxtech.com - web development and online marketing specialists
Marketing Manager at Boss Cart
22 August 2009 10:51am
Hi,
I doupt that the rel="nofollow" would be an effective way to restrict google. You may want to use Disallow in the robots.txt file based on query string, see example at http://sanzon.wordpress.com/2008/04/29/advanced-usage-of-robotstxt-w-querystrings/ . If I were you I would use the following snippet of php code to redirect googlebase to the correct URL if the utm_campaign GET variable is set.
$landing='http://'.$_SERVER['HTTP_HOST'].''.$_SERVER['REQUEST_URI'].'';
$search = '|(\.html)(.*)|i';
$replace = '${1}';
$landing= preg_replace( $search, $replace, $landing );
if (isset($_GET['utm_campaign']) && preg_match("/googlebot/i", $_SERVER['HTTP_USER_AGENT']))
{
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: $landing" );
}
I saw you used html as file extension. You may include php code to html files using php_value auto_prepend_file in the .htaccess file.
Regards
Zoli
Web & E-Trading Manager at Yapp Brothers Ltd
25 August 2009 17:06pm
I think the technical answers above are barking up the wrong tree...
What you are concerned about is Google displaying www.mysite.com/page.html?affiliatetrackingguffparameter=XYZ&etc, and what you want Google to display organically in their results is simply www.mysite.com/page.html
In which case, you need simply to add the rel=canonical tag to each page, to state the definitive version of the page to Google et al, without the parameters.
Do a search on Google for 'canonical tag', and look at the answer within their own blog - straight from the horse's mouth, as it were.
And it's a free fix too!
Cheers,
Richard
Marketing Manager at Institute of Chartered Accountants
25 August 2009 17:12pm
Hi
I had exactly the same issue not long ago and I posted the question in the Google Webmaster forums. A couple of people suggested canonical URLs.
I didn't try it as the problem seems to have sorted itself. However, it sounded like it might do the trick by specifying a preferred domain for different URLs that refer to the same page. More info:
http://www.google.com/support/webmasters/bin/answer.py?answer=139066&ctx=sibling
or
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=139394
Good luck.
Advisor at The Lost Agency
29 August 2009 09:06am
I would have to say one of the GAAC partners in Australia has a great blog post which may solve your issue. It uses "#" instead of "?" in the campaign tracking.
Fixing Campaign Tagged URLs for Improved SEO
Search Strategist at Independent Consultant
10 September 2009 09:35am
I would use a combination of events - use rel canonical on all pages - and on robots txt exclude indexability of those URL IDs - however this is only advisable if your normal pages are indexed higher than the tracked URLs - a while ago I noticed this issue with Orange and posted about it