Posts Tagged pageTracker
Google analytics
Posted by admin in Web design & development on April 15th, 2009
- Interpret your Data: Learn how to interpret your data into meaningful insights with our video tutorial.
Tag your links [esp for tracking non www links in email campaigns etc] with the URL Builder
Go to the Conversion University
Track non page events like PDF downloads, video views, clicks etc with the pageTracker
<a href="/brochure.pdf" onClick="javascript: pageTracker._trackPageview('/virtual/path/you/want/to/use/brochure.pdf'); ">Link juice</a>
[Cannot get this to work]If, for example, it’s in embedded in a PHP echo statement don’t be a pendejo and forget to escape the quote marks:
<script type="text/javascript">
<!--
pageTracker._trackPageview(\'/a/different/and/riddiculously/long/virtual/path/\')
//-->
</script>'
WordPress note with the above block of <code> an apostrophe after a backslash needs to be added as an HTML entity: '. Strange? I think so.