Add tracking pixel on specific pages.
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 30 Jun 2016 17:10:52 +0000 (13:10 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 30 Jun 2016 17:10:52 +0000 (13:10 -0400)
Adding img tracking pixel to these pages.
/
/visit-explore-2/hours-admissions/
/2016-events-calendar/
/visit-explore-2/
/shop/

header.php

index ddb3305..16e4996 100644 (file)
        <?php wp_head();?>
   </head>
   <body>
+    <?php if ( is_page( array( 739, 102, 1414, 526, 759 ) ) || is_shop() ) {?>
+        <!-- pixel tracking -->
+        <img height="1" width="1" style="border-style:none;" alt="" src="//insight.adsrvr.org/track/evnt/?adv=p4a70j7&ct=0:wzzlwmm&fmt=3"/>
+    <?php } ?>
     <div class="off-canvas-wrap" data-offcanvas>
         <div class="inner-wrap">
             <div id='shadow_wrapper'>