diff options
author | wushin <pasekei@gmail.com> | 2014-05-19 20:07:35 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2014-05-19 20:07:35 -0500 |
commit | b9571a3ec0eebfbfcf04e40726b832de079fbbf5 (patch) | |
tree | bcfa6d00a862352bcef993191de0b0fac5f90a78 | |
parent | 1f0f875aa6ff1bf27e480939a4270a0cf4e1ebd4 (diff) | |
parent | 0d0a5a365cd63fb0537a87df03e5df891e14336d (diff) | |
download | website-b9571a3ec0eebfbfcf04e40726b832de079fbbf5.tar.gz website-b9571a3ec0eebfbfcf04e40726b832de079fbbf5.tar.bz2 website-b9571a3ec0eebfbfcf04e40726b832de079fbbf5.tar.xz website-b9571a3ec0eebfbfcf04e40726b832de079fbbf5.zip |
Merge pull request #6 from wushin/google-tag-manager
Adding google tag manager
-rw-r--r-- | includes/common.php | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/includes/common.php b/includes/common.php index c3471b0..4e0e2bf 100644 --- a/includes/common.php +++ b/includes/common.php @@ -26,6 +26,15 @@ function placeHeader($page_title) </style> </head> <body> +<!-- Google Tag Manager --> +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-5KTWGJ" +height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': +new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], +j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= +'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); +})(window,document,'script','dataLayer','GTM-5KTWGJ');</script> +<!-- End Google Tag Manager --> <div style="margin-left: auto; margin-right: auto; max-width: 1350px;"> <div id="page"> @@ -160,13 +169,6 @@ function placeFooter() </div> </div> <!-- /page --> </div> - - <script src="https://www.google-analytics.com/urchin.js" type="text/javascript"> - </script> - <script type="text/javascript"> - _uacct = "UA-380618-3"; - urchinTracker(); - </script> </body> </html> <?php |