Fixed GA code

This commit is contained in:
Fergal Moran
2014-06-01 00:09:55 +01:00
parent 3e02731fcb
commit f2acc5c6cf
2 changed files with 3 additions and 3 deletions

View File

@@ -20,6 +20,6 @@ class ShowGoogleAnalyticsJS(template.Node):
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', """ + str(code) + """, 'auto');
ga('create', '""" + str(code) + """', 'auto');
ga('send', 'pageview');
</script>"""

View File

@@ -20,6 +20,7 @@ git+git://github.com/jefftriplett/django-podcast.git#django-podcast
git+git://github.com/etianen/django-require.git#django-require
git+git://github.com/spookylukey/django-paypal.git#django-paypal
git+git://github.com/llazzaro/django-scheduler.git#django-scheduler
git+git://github.com/cyberdelia/django-pipeline.git#django-pipeline
django-templated-email
django-grappelli
humanize
@@ -45,7 +46,6 @@ django-dbbackup
dropbox
django-jfu
six
django-require
pyyaml
ua-parser
user-agents
@@ -53,4 +53,4 @@ django-user-agents
nginx_signing
cssmin
slimit
djrill