bring over google anlytics
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 5 Mar 2015 21:52:25 +0000 (16:52 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 5 Mar 2015 21:52:25 +0000 (16:52 -0500)
and tracking code and turn off error from videos js

Toolkit/Page.php
templates/template.html

index 27e0767..f88e3f8 100755 (executable)
@@ -266,6 +266,7 @@ class Toolkit_Page
 
     private function _video()
     {
+        return false;
         //$GLOBALS['styleSheets'][]
         //   = GLM_APP_BASE_URL . 'gallery/colorbox/colorbox.css';
         //$GLOBALS['bottomScripts'][]
@@ -622,11 +623,11 @@ class Toolkit_Page
         ) {
             $this->_events($this->_toolboxPage, $this->_pageGateway);
         }
-        
+
         if ($this->_catid == HOME_ID) {
             $this->_blogReader();
         }
-        
+
         if (   defined("GLM_BLOCKS")
             && GLM_BLOCKS
             && !filter_var($_REQUEST[ 'sitemap'], FILTER_VALIDATE_INT)
@@ -1109,7 +1110,7 @@ class Toolkit_Page
         $feed = $feedReader->fetchMostRecent();
         $this->feed = $feed['items'];
     }
-    
+
     /**
      * Add Weather module
      *
index 0c63e90..8994b52 100755 (executable)
         <link href="//fonts.googleapis.com/css?family=Josefin+Slab:400,700" rel="stylesheet" type="text/css">
         <link href="//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700" rel="stylesheet" type="text/css">
         {topScripts:h}
+        <script>
+        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+        ga('create', 'UA-41312553-1', 'gaylordgolfmecca.com');
+        ga('send', 'pageview');
+
+      </script>
     </head>
     <body>
         <div class="off-canvas-wrap" data-offcanvas>
         </div><!--off-canvas-->
 
         {bottomScripts:h}
+<!-- Segment Pixel - MI - Grand Bay Promotions - Site - DO NOT MODIFY -->
+<img src="https://ib.adnxs.com/seg?add=763485&t=2" width="1" height="1" />
+<!-- End of Segment Pixel -->
     </body>
 </html>