简体   繁体   English

Google Analytics 获取实时报告

[英]Google analytics get realtime report

Hii… i wanted to get the realtime reports of the google analytics that they have displyed in their website… i tried using google analytics api to retrieve the data using dimensions and metrics… is there any other method to retrieve the data from google analytics dashboard to reactjs app…你好......我想获得他们在他们的网站上显示的谷歌分析的实时报告......我尝试使用谷歌分析 api 使用维度和指标检索数据......是否有任何其他方法可以从谷歌分析仪表板检索数据到reactjs 应用…

There are 2 options to export your analytics data:导出分析数据有 2 个选项:

  • CSV/PDF export - allows you to export aggregate analytics data as shown in the reports from your Firebase console. CSV/PDF 导出- 允许您导出聚合分析数据,如 Firebase 控制台的报告所示。
  • BigQuery export - allows you to access your raw, unsampled event data along with all of your parameters and user properties. BigQuery 导出- 允许您访问原始的、未抽样的事件数据以及所有参数和用户属性。 Data is exported to BigQuery on a daily basis.数据每天都会导出到 BigQuery。

For server to server setup, I would suggest using the Google Analytics 4 Measurement Protocol API .对于服务器到服务器设置,我建议使用Google Analytics 4 Measurement Protocol API The Measurement Protocol API allows you to make HTTP requests to send events directly to Google Analytics servers and allows you to measure how users interact with your business from any HTTP-enabled environment.测量协议 API 允许您发出 HTTP 请求以将事件直接发送到 Google Analytics 服务器,并允许您测量用户如何从任何支持 HTTP 的环境与您的业务交互。 This makes it easy to measure interactions that happen server-to-server.这使得衡量服务器到服务器发生的交互变得容易。

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

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