Google Analytics Tracking Distorted

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
User avatar
greiner
ABP Developer
Posts: 899
Joined: Mon Sep 03, 2012 5:29 pm
Location: Cologne, Germany

Google Analytics Tracking Distorted

Post 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."
Locked