开发者

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜