Page 1 of 1

Google Analytics Tracking Distorted

Posted: Sat Feb 16, 2013 10:45 am
by greiner
I found this blog post about adblocking software distorted Google Analytics numbers due to the release of its new retargeting feature. To use this feature webmasters need to change their analytics code and replace this line

Code: Select all

ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
with this line

Code: Select all

ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
DoubleClick, however, is being blocked in some filter lists and therefore the whole tracking appears to not be working anymore. Someone from an online marketing firm replied to that on Google+, saying
"On one client site I noticed a more than 50% drop in traffic recorded in analytics once we switched over. For this client, that meant several thousand visits per day. We switched the code back after just three days. Most other clients its much lower, but almost always significant enough to warrant a switch back."