How to delete a event from event tracking of Google Analytics?

痴心易碎 提交于 2019-12-03 06:30:36

问题


I send some event to Google Analytics using this function

_gaq.push(['_trackEvent',category,action,label,value]);

but I sent them just for testing my code and now I want to delete them and start real tracking. How can I delete them?should I use any code for this?

PS:I see my testing result in content>EventTracking section


回答1:


You cannot delete it. That is why it is important to setup a test profile to send data to while you implement/qa.




回答2:


You can create a Custom Report. There is a Filters section that will allow you to filter out specific event categories, actions, labels, etc. In the example shown below, I am filtering out categories/actions that contain the word "test":



来源:https://stackoverflow.com/questions/8419074/how-to-delete-a-event-from-event-tracking-of-google-analytics

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!