Tagging page tracker event using the Async google analytics
In the old GA.js I was doing this:
<script type="text/javascript">
pageTracke开发者_高级运维r._trackPageview("/Page/About_Us/");
</script>
What is the equivalent using the asynchronous analytics code?
Found answer -- first turn off the gaq.push that does a _trackPageview in the default async script then use this
<script type="text/javascript">
//<![CDATA[
_gaq.push(['_trackPageview', '/whatever/you/need']);
//]]>
</script>
精彩评论