_trackEvent() from Google Analytics not working?

前端 未结 4 1377
不思量自难忘°
不思量自难忘° 2020-12-31 01:45

I have Google Analytics setup on my site, and it is definitely recording page views. But I have added some code to call pageTracker._trackEvent(category, action, labe

4条回答
  •  余生分开走
    2020-12-31 01:57

    it is not recording those hits or showing them in the reports.

    Events have no effect on page views and do not appear on regular reports. Events have a seperate interface at Content / Events. If you'd like to track the things you specified as events like regular hits, better use the trackPageview method instead.

提交回复
热议问题