com web/php: Adding GoSquared footer code: include/footer.inc
| From: | Paul Dragoonis | Date: | Thu, 25 Jul 2013 15:31:09 +0000 |
| Subject: | com web/php: Adding GoSquared footer code: include/footer.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-16381@lists.php.net to get a copy of this message | ||
Commit: 4d6dde3ba1ebcb9160858948de4b36883b8424d0
Author: Paul Dragoonis <dragoonis@gmail.com> Thu, 25 Jul 2013 16:31:09 +0100
Parents: ac07e4cf514230117fa88f0f6a4d1555cd908a44
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=4d6dde3ba1ebcb9160858948de4b36883b8424d0
Log:
Adding GoSquared footer code
Changed paths:
M include/footer.inc
Diff:
diff --git a/include/footer.inc b/include/footer.inc
index 0dded3f..b4052b9 100644
--- a/include/footer.inc
+++ b/include/footer.inc
@@ -32,7 +32,23 @@
}
?>
-
+<script type="text/javascript">
+ var GoSquared = {};
+ GoSquared.acct = "GSN-094556-T";
+ (function(w){
+ function gs(){
+ w._gstc_lt = +new Date;
+ var d = document, g = d.createElement("script");
+ g.type = "text/javascript";
+ g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";
+ var s = d.getElementsByTagName("script")[0];
+ s.parentNode.insertBefore(g, s);
+ }
+ w.addEventListener ?
+ w.addEventListener("load", gs, false) :
+ w.attachEvent("onload", gs);
+ })(window);
+</script>
</body>
</html>