如何从Google Analytics(分析)4获取视图ID? [英] How do I get View ID from Google Analytics 4?

查看:108
本文介绍了如何从Google Analytics(分析)4获取视图ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图从GA(Google Analytics(分析))检索有关我的网站的所有信息.我正在使用laravel和此软件包

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?

解决方案

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):

这篇关于如何从Google Analytics(分析)4获取视图ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆