Google Analytics – Finding <body> tag
-
I have this code for Google Analytics tracking:
<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "https://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try{ var pageTracker = _gat._getTracker("UA-xxxxxx-x"); pageTracker._trackPageview(); } catch(err) {} </script>
-instructions (https://www.google.com/support/googleanalytics/bin/answer.py?answer=55488&hl=en_US&utm_id=ad) say to place the above code directly before the </body> tag.
one problem…where is the <body> & </body> tags in WP?????
Any advice?
Thanks!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Google Analytics – Finding <body> tag’ is closed to new replies.