# File: /skin/common_files/modules/Google_Analytics/ga_code_async.tpl # Goal: Update Google Analytics to support the Display Advertising network as suggested here: https://support.google.com/analytics/answer/2444872?hl=en --- ga_code_async.tpl 2014-02-12 21:00:49.000000000 +0100 +++ ga_code_async_modd.tpl 2014-05-21 10:03:59.000000000 +0200 @@ -45,7 +45,10 @@ (function() {ldelim} var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +{* Replaced old GA by new display advertising network ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +*} + ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); {rdelim})();