adding code for google adsense
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 31 May 2016 13:13:17 +0000 (09:13 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 31 May 2016 13:13:17 +0000 (09:13 -0400)
footer.php

index 0de25b9..5755926 100644 (file)
         <a class="exit-off-canvas"></a>
         </div><!--End of inner-wrap-->
       </div><!--End of off-canvas-->
-  </body>
   <?php wp_footer();?>
 <!-- Segment Pixel - MNG 66895_http://www.explorewesternup.com/ - DO NOT MODIFY -->
 <script src="https://secure.adnxs.com/seg?add=2312491&t=1" type="text/javascript"></script>
 <!-- End of Segment Pixel -->
+<script>
+window.addEventListener('load',function(){
+if(jQuery('#gform_confirmation_message_1').length > 0)
+{
+ga('send','event','form','submit','success');
+}
+})
+</script>
+  </body>
 </html>