Chromium Code Reviews| Index: dart/site/try/index.html |
| diff --git a/dart/site/try/index.html b/dart/site/try/index.html |
| index 0a42cad4722513472c24d5474e8bdfafa4d89fd0..d0890c5fbb00fbf9898bbbe5a79a33431340fc51 100644 |
| --- a/dart/site/try/index.html |
| +++ b/dart/site/try/index.html |
| @@ -190,6 +190,7 @@ body /deep/ .hazed-suggestion:after { |
| <!-- Enable Google Analytics --> |
| <script type="text/javascript"> |
| +if (document.cookie.split(';').indexOf('org-trydart-AutomatedTest=true') != -1) { |
|
ahe
2014/09/04 11:07:17
If I add:
window.parent && window.parent.postMess
|
| var _gaq = _gaq || []; |
| _gaq.push(['_setAccount', 'UA-26406144-2']); |
| _gaq.push(['_trackPageview']); |
| @@ -199,6 +200,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> |