简体   繁体   English

在 GA4 数据 stream 中找不到测量协议来创建用于发送事件的 api-secret

[英]Cannot find measurement protocol in GA4 data stream to create api-secret for sending events

Initially, I had set up Universal Analytics to track some user activity on my web application but I then realized that I cannot generate reports(get data back from the dashboard for further analysis) and then decided to switch to google analytics 4 as they have a provision for receiving data as mentioned in https://www.npmjs.com/package/@google-analytics/data最初,我设置了 Universal Analytics 来跟踪我的 web 应用程序上的一些用户活动,但后来我意识到我无法生成报告(从仪表板取回数据以进行进一步分析),然后决定切换到谷歌分析 4,因为他们有https://www.npmjs.com/package/@google-analytics/data中提到的接收数据的规定

NOTE: I am sending data from a nodejs server注意:我正在从 nodejs 服务器发送数据

I am trying to send some user data to Google analytics 4 and have encountered the below issue, In the documentation, it says "To create a new secret, navigate in the Google Analytics UI to: Admin > Data Streams > choose your stream > Measurement Protocol > Create", however, I cannot see the measurement protocol option in the data stream, and I did not find this option anywhere in the settings or elsewhere.我正在尝试将一些用户数据发送到 Google Analytics 4,但遇到了以下问题,在文档中,它显示“要创建新机密,请在 Google Analytics UI 中导航至:Admin > Data Streams > choose your stream > Measurement协议 > 创建”,但是,我在数据 ZF7B44CFFAFD5C52223D5498196C8A2E7BZ 中看不到测量协议选项,并且我在设置或其他地方的任何地方都没有找到此选项。

How do I create it for a POST request as explained in https://developers.google.com/analytics/devguides/collection/protocol/ga4/sending-events?client_type=gtag#send_an_event如何按照https://developers.google.com/analytics/devguides/collection/protocol/ga4/sending-events?client_type=gtag#send_an_event中的说明为 POST 请求创建它

If there is any way to receive data from Universal analytics,it would be great but any help regarding the api_secret will also help.如果有任何方法可以从 Universal Analytics 接收数据,那就太好了,但有关 api_secret 的任何帮助也会有所帮助。

Thank You.谢谢你。

This happens because your user has only Read & Analyze permissions while to view Measurement Protocol API secrets option you also need Edit permissions.发生这种情况是因为您的用户只有Read & Analyze权限,而要查看Measurement Protocol API 机密选项,您还需要Edit权限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM