adding tracking pixels and google code
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 9 May 2016 17:10:15 +0000 (13:10 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 9 May 2016 17:10:15 +0000 (13:10 -0400)
footer.php
header.php

index aeba359..326a6be 100644 (file)
         </div><!--End of inner-wrap-->
       </div><!--End of off-canvas-->
   <?php wp_footer();?>
+<!-- Pixels - Silver Lake Sand Dunes - Site - DO NOT MODIFY -->
+
+<img src="http://ib.adnxs.com/seg?add=2669162&t=2" width="1" height="1" />
+
+<img src="http://bcp.crwdcntrl.net/5/c=931/b=26809808" width="1" height="1"/>
+
+<img src="http://bcp.crwdcntrl.net/5/c=931/b=30490444" width="1" height="1"/>
+<!-- End of Segment Pixel -->
+<!-- MLive tracking code -->
+<script type="text/javascript">
+!function(){function t(){var t=r("utm_content");if(t){var e=new Date;e.setDate(e.getDate()+30),document.cookie=t+";expire="+e.toGMTString()+";path=/"}else if(document.cookie)for(var o=document.cookie.split(/; */),n=0;n<o.length;n++)if(0===o[n].toLowerCase().trim().indexOf("utm_content=")){t=o[n];break}return t}function e(t){try{console.log(t)}catch(e){alert(t)}}function r(t){var e=top.location.search?top.location.search.substring(1):null;if(e)for(var r=e.split("&"),o=0;o<r.length;o++)if(0===r[o].toLowerCase().trim().indexOf(t+"="))return r[o];return null}var o="",n=r("mctest");if(n)e("dnr tag version: 20160107"),o="http://localhost:8080/rip/library/dnr/mcDnrTag.debug.js";else{var a=t(),c="";a&&(c=top.location.search?0<=top.location.search.indexOf("utm_content")?top.location.search:top.location.search+"&"+a:"?"+a),o="https://script.advertiserreports.com/redirector/dnr"+c}var i=document.createElement("script");i.src=o,i.type="text/javascript",scriptTag=document.getElementsByTagName("script")[0],scriptTag.parentNode.appendChild(i)}();
+</script>
+<!-- End of MLive tracking code -->
   </body>
 </html>
index 5079ffc..ed55f40 100644 (file)
@@ -8,6 +8,19 @@
     <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
     <link href='http://fonts.googleapis.com/css?family=Crimson+Text:600italic' rel='stylesheet' type='text/css'>
     <?php wp_head(); ?>
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-870324-6']);
+  _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>
   </head>
   <body>
       <div class="off-canvas-wrap" data-offcanvas>