Jump to content

 

aircomms

Member Since 30 Jun 2008
Offline Last Active Today, 12:06 PM
-----

#182704 Upgrade To Universal Analytics (Google Analytics)

Posted by aircomms on 30 April 2014 - 01:56 PM

In version 4.1.x edit -

design/themes/xxxxxxx/templates/addons/google_analytics/hooks/index/footer.post.tpl

and replace the line

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

with

ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';