From 22c020b8f78fcd60919177e8a3d9482e8d649db2 Mon Sep 17 00:00:00 2001 From: Joe Allan Muharsky Date: Mon, 7 Mar 2016 11:31:44 -0800 Subject: [PATCH] Add pageview GA tracking. --- server/perfkit/explorer/handlers/templates/explorer.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/perfkit/explorer/handlers/templates/explorer.html b/server/perfkit/explorer/handlers/templates/explorer.html index 9283079..350513e 100644 --- a/server/perfkit/explorer/handlers/templates/explorer.html +++ b/server/perfkit/explorer/handlers/templates/explorer.html @@ -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'); - + + ga('create', '[[analytics_key]]', 'auto'); + ga('send', 'pageview'); + [% include 'third-party-scripts.html' %]