Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: masters/master.chromium/templates/layout.html

Issue 662513003: Add Google Analytics to buildbot pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | masters/master.client.dart/templates/layout.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: masters/master.chromium/templates/layout.html
diff --git a/masters/master.chromium/templates/layout.html b/masters/master.chromium/templates/layout.html
index 040057439a51f320543d5a6cc6d1c551786c198c..773ea62912d3bd232084644d4624be61e8bb9cdc 100644
--- a/masters/master.chromium/templates/layout.html
+++ b/masters/master.chromium/templates/layout.html
@@ -60,5 +60,15 @@
Page built: <b>{{ time }}</b> ({{ tz }})
</div>
{% endblock -%}
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (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', 'UA-55762617-2', 'auto');
+ ga('send', 'pageview');
+
+ </script>
</body>
</html>
« no previous file with comments | « no previous file | masters/master.client.dart/templates/layout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698