summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/tabs.html
diff options
context:
space:
mode:
authorkathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-22 19:42:02 +0000
committerkathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-22 19:42:02 +0000
commitf09ef6740a2d3342dd41796e01916957d20b6586 (patch)
tree7b4134169406e6d597715569fa12cf2e664c2dd9 /chrome/common/extensions/docs/tabs.html
parente678ffd499185578b5db6a7eec866d447ae7918c (diff)
downloadchromium_src-f09ef6740a2d3342dd41796e01916957d20b6586.zip
chromium_src-f09ef6740a2d3342dd41796e01916957d20b6586.tar.gz
chromium_src-f09ef6740a2d3342dd41796e01916957d20b6586.tar.bz2
Modify the template to add analytics to all extension docs.
Besides the usual code.google.com analytics, there's also an account for just Chrome-related docs. Also deleted some end-of-line spaces to avoid presubmit errors. TBR=rafaelw Review URL: http://codereview.chromium.org/209067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26843 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/tabs.html')
-rwxr-xr-xchrome/common/extensions/docs/tabs.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html
index 7c76c18..c886b4c 100755
--- a/chrome/common/extensions/docs/tabs.html
+++ b/chrome/common/extensions/docs/tabs.html
@@ -4515,6 +4515,29 @@ For example:
<p>
©2009 Google
</p>
+
+<!-- begin analytics -->
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
+
+<script type="text/javascript">
+ // chrome doc tracking
+ try {
+ var engdocs = _gat._getTracker("YT-10763712-2");
+ engdocs._trackPageview();
+ } catch(err) {}
+
+ // code.google.com site-wide tracking
+ try {
+ _uacct="UA-18071-1";
+ _uanchor=1;
+ _uff=0;
+ urchinTracker();
+ }
+ catch(e) {/* urchinTracker not available. */}
+</script>
+<!-- end analytics -->
+
</div> <!-- /pageFooter -->
</div> <!-- /container -->
</body></html>