开发者

new GoogleAnalytics Asynchronous tracking and Flash ExternalInterface.call

I'm implementing Google analytics on a current project.

Apparent开发者_如何学Pythonly the code has been updated to a new asynchronous syntiax, so my old actionscript code doesn't work. http://code.google.com/apis/analytics/docs/tracking/asyncUsageGuide.html This was my old code

ExternalInterface.call("pageTracker._trackEvent", CATEGORY,ACTION,LABEL, VALUE);

Can anyone tell me how I would format the above to work with the new asynchronous style of tracking?


Try this:

ExternalInterface.call("_gaq.push(['_trackEvent', CATEGORY,ACTION, Opt_LABEL, Opt_VALUE])");
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜