Index: dart/site/try/index.html |
diff --git a/dart/site/try/index.html b/dart/site/try/index.html |
index 0a42cad4722513472c24d5474e8bdfafa4d89fd0..5e0539547b9c76202228e9025ca952dbae6f4800 100644 |
--- a/dart/site/try/index.html |
+++ b/dart/site/try/index.html |
@@ -190,6 +190,8 @@ body /deep/ .hazed-suggestion:after { |
<!-- Enable Google Analytics --> |
<script type="text/javascript"> |
+if (document.cookie.split(new RegExp('; *')).indexOf('org-trydart-AutomatedTest=true') == -1) { |
+ window.parent && window.parent.postMessage('Enabling Analytics.', '*'); |
var _gaq = _gaq || []; |
_gaq.push(['_setAccount', 'UA-26406144-2']); |
_gaq.push(['_trackPageview']); |
@@ -199,6 +201,7 @@ body /deep/ .hazed-suggestion:after { |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
})(); |
+} |
</script> |
</head> |
<body> |