Mercurial > hg > nginx-site
changeset 1213:10e622e0bfc8
Change google analytic code to enable display advertising features.
author | Sergey Budnevitch <sb@waeme.net> |
---|---|
date | Wed, 04 Jun 2014 19:48:46 +0400 |
parents | 8601439bdd16 |
children | 1281a1f9eec2 |
files | xsls/ga.xsls |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/xsls/ga.xsls +++ b/xsls/ga.xsls @@ -15,7 +15,7 @@ X:template ga () { (function() \{ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - 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); \})();