Added Google Analytics
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
diff --git a/download.html b/download.html
index 409f883..37419ba 100644
--- a/download.html
+++ b/download.html
@@ -79,6 +79,8 @@ section.download {
</style>
<script src="prefixfree.min.js"></script>
+<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
+<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body>
diff --git a/examples.html b/examples.html
index 587f84d..a0635f2 100644
--- a/examples.html
+++ b/examples.html
@@ -9,6 +9,8 @@
<link rel="stylesheet" href="prism.css" data-noprefix />
<script src="prefixfree.min.js"></script>
+<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
+<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body>
diff --git a/extending.html b/extending.html
index 4e63f56..eddb26c 100644
--- a/extending.html
+++ b/extending.html
@@ -9,6 +9,8 @@
<link rel="stylesheet" href="prism.css" data-noprefix />
<script src="prefixfree.min.js"></script>
+<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
+<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body class="language-javascript">
diff --git a/faq.html b/faq.html
index 3b3a718..c0f9e2b 100644
--- a/faq.html
+++ b/faq.html
@@ -18,6 +18,8 @@
</style>
<script src="prefixfree.min.js"></script>
+<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
+<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body>
diff --git a/index.html b/index.html
index 631ec3b..1a0aa12 100644
--- a/index.html
+++ b/index.html
@@ -13,6 +13,8 @@
<link rel="stylesheet" href="prism.css" data-noprefix />
<script src="prefixfree.min.js"></script>
+<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
+<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body>
diff --git a/plugins/autolinker/index.html b/plugins/autolinker/index.html
index 862f4c4..ba76140 100644
--- a/plugins/autolinker/index.html
+++ b/plugins/autolinker/index.html
@@ -11,6 +11,8 @@
<link rel="stylesheet" href="plugins/autolinker/prism-autolinker.css" data-noprefix />
<script src="prefixfree.min.js"></script>
+<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
+<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body>
diff --git a/plugins/index.html b/plugins/index.html
index f1261c2..6209b27 100644
--- a/plugins/index.html
+++ b/plugins/index.html
@@ -11,6 +11,8 @@
<link rel="stylesheet" href="plugins/line-highlight/prism-line-highlight.css" data-noprefix />
<script src="prefixfree.min.js"></script>
+<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
+<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body>
diff --git a/plugins/line-highlight/index.html b/plugins/line-highlight/index.html
index 921e6b6..7f978eb 100644
--- a/plugins/line-highlight/index.html
+++ b/plugins/line-highlight/index.html
@@ -11,6 +11,8 @@
<link rel="stylesheet" href="plugins/line-highlight/prism-line-highlight.css" data-noprefix />
<script src="prefixfree.min.js"></script>
+<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
+<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body>
diff --git a/plugins/show-invisibles/index.html b/plugins/show-invisibles/index.html
index 77b62cc..ad762d4 100644
--- a/plugins/show-invisibles/index.html
+++ b/plugins/show-invisibles/index.html
@@ -11,6 +11,8 @@
<link rel="stylesheet" href="plugins/show-invisibles/prism-show-invisibles.css" data-noprefix />
<script src="prefixfree.min.js"></script>
+<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
+<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body>
diff --git a/templates/header-main.html b/templates/header-main.html
index 0599064..70e1052 100644
--- a/templates/header-main.html
+++ b/templates/header-main.html
@@ -5,7 +5,4 @@
<p>
Prism is a new lightweight, extensible syntax highlighter, built with modern web standards in mind.
It’s a spin-off from <a href="http://dabblet.com">Dabblet</a> and is tested there daily by thousands.
-</p>
-
-<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
-<script src="http://www.google-analytics.com/ga.js" async></script>
\ No newline at end of file
+</p>
\ No newline at end of file
diff --git a/test.html b/test.html
index 0f64fec..0fea75d 100644
--- a/test.html
+++ b/test.html
@@ -38,6 +38,8 @@ textarea {
</style>
<script src="prefixfree.min.js"></script>
+<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
+<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body>