How do I get View ID from Google Analytics 4?

若如初见. 提交于 2020-12-09 06:38:47

问题


I tried to retrieve all information about my website from GA (Google Analytics). I'm using laravel and this package https://github.com/spatie/laravel-analytics to make my life easier. However, that package requires "View ID" from GA, which I can't help myself to find it. I read this thread https://support.google.com/analytics/thread/15684521?hl=en and I'm guessing that since GA 4 they totally removed the views column from Web + App property (which will be created as a default) (correct me pls). Did anyone had this problem before? Where I can find that "view id"? are there some articles that can help me solve this problem? Any suggestion about better way to achieve my goal?


回答1:


In GA4 there aren't Views so you if you want to use your code (who needs a View), you have to create a Universal Analytics Property.

You can find it by clicking on Show advanced options (when you create a new property):



来源:https://stackoverflow.com/questions/64510635/how-do-i-get-view-id-from-google-analytics-4

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