aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-05-26 16:35:28 -0700
committerMark Otto <[email protected]>2012-05-26 16:35:28 -0700
commitcc8b260ed8730f7e971e2c50fc01cdd0169cdddd (patch)
tree019da32b9eb150b75575c7f63a33a94f9faf50ff
parenta7529e158be8153fd350d19445e9e93261050c55 (diff)
downloadbootstrap-cc8b260ed8730f7e971e2c50fc01cdd0169cdddd.tar.xz
bootstrap-cc8b260ed8730f7e971e2c50fc01cdd0169cdddd.zip
adding google analytics tracking to docs
-rw-r--r--docs/base-css.html1
-rw-r--r--docs/components.html1
-rw-r--r--docs/download.html1
-rw-r--r--docs/examples.html1
-rw-r--r--docs/index.html1
-rw-r--r--docs/javascript.html1
-rw-r--r--docs/less.html1
-rw-r--r--docs/scaffolding.html1
-rw-r--r--docs/templates/layout.mustache13
-rw-r--r--docs/upgrading.html1
10 files changed, 22 insertions, 0 deletions
diff --git a/docs/base-css.html b/docs/base-css.html
index b5330c3a4..cb3bd8b95 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -24,6 +24,7 @@
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
+
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
diff --git a/docs/components.html b/docs/components.html
index 18c421b7c..55eb2e4a1 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -24,6 +24,7 @@
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
+
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
diff --git a/docs/download.html b/docs/download.html
index 4644f6ab1..d3e168e99 100644
--- a/docs/download.html
+++ b/docs/download.html
@@ -24,6 +24,7 @@
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
+
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
diff --git a/docs/examples.html b/docs/examples.html
index 70cb5a5ad..5e8d74a3b 100644
--- a/docs/examples.html
+++ b/docs/examples.html
@@ -24,6 +24,7 @@
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
+
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
diff --git a/docs/index.html b/docs/index.html
index 23e61ac40..3f30cd473 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -24,6 +24,7 @@
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
+
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
diff --git a/docs/javascript.html b/docs/javascript.html
index 6c47bac3e..6d06ff6d1 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -24,6 +24,7 @@
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
+
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
diff --git a/docs/less.html b/docs/less.html
index c1fc8212b..8f1ebf7ad 100644
--- a/docs/less.html
+++ b/docs/less.html
@@ -24,6 +24,7 @@
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
+
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
diff --git a/docs/scaffolding.html b/docs/scaffolding.html
index c12ea6892..4d6835caf 100644
--- a/docs/scaffolding.html
+++ b/docs/scaffolding.html
@@ -24,6 +24,7 @@
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
+
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
diff --git a/docs/templates/layout.mustache b/docs/templates/layout.mustache
index ca91a8037..ae2ce4aad 100644
--- a/docs/templates/layout.mustache
+++ b/docs/templates/layout.mustache
@@ -24,6 +24,19 @@
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
+
+ {{#production}}
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-146052-10']);
+ _gaq.push(['_trackPageview']);
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ 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>
+ {{/production}}
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
diff --git a/docs/upgrading.html b/docs/upgrading.html
index 0c979cd75..2a2c39818 100644
--- a/docs/upgrading.html
+++ b/docs/upgrading.html
@@ -24,6 +24,7 @@
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
+
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">