Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #255 from GoogleCloudPlatform/fix_analytics
Browse files Browse the repository at this point in the history
Add pageview GA tracking.
  • Loading branch information
Ivan Filho committed Mar 8, 2016
2 parents 2f3f433 + 22c020b commit 5eda697
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/perfkit/explorer/handlers/templates/explorer.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
(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');
</script>

ga('create', '[[analytics_key]]', 'auto');
ga('send', 'pageview');
</script>

[% include 'third-party-scripts.html' %]

Expand Down

0 comments on commit 5eda697

Please sign in to comment.