使用任何Gmail帐户凭据与GA4连接,在网站中选择属性并获取分析数据,而无需任何密钥
我需要在C#中创建网站以集成GA4。我可以与任何Gmail帐户(用户/密码)连接GA4 API,然后从列表中选择属性帐户,并在不使用任何特定客户端密钥的情况下获取相应的数据。任何帮助将不胜感激。
I have requirement of creating website in c# to integrate the GA4. On which I can connect with GA4 API with any gmail account (userid/password), then select the property account from the list and get respective data without using any specific client key. Any help would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法使用该客户log logoog logoogle在2015年关闭此信息。为了访问私人用户数据,您必须使用oauth2来请求用户请求同意为了访问他们的数据。
您不能OAuth2要求Google注册和验证您的应用程序,以访问私人用户数据。然后,要请求授权,您需要使用客户ID和客户端秘密。
开始研究如何 google Analytics数据v1 api
You cant this is / was called client login google shut this down in 2015. In order to access private user data you must use oauth2 to request consent of the user in order to access their data.
You cant oauth2 requires that your application be registered and verified by google in order to access private user data. Then in order to request authorization you will need to use your client id and client secret.
Start looking into how to the Google analytics data v1 api