简体   繁体   English

在Google Analytics中访问来自不同媒体资源的数据

[英]Accessing data from different properties in google analytics

I have different properties in Google Analytics account. 我在Google Analytics帐户中拥有不同的属性。 One for the main website and other for the android app. 一个用于主网站,另一个用于Android应用程序。 I am currently using Google Embed API in Javascript to access the data from the first property. 我目前正在使用Javascript中的Google Embed API来访问第一个属性中的数据。 Now I want to access the data from the second property as well. 现在我想要从第二个属性访问数据。 Is there any way to access the data from the other property in the same code. 有没有办法从同一代码中的其他属性访问数据。

I'm new to Google Analytics. 我是谷歌分析的新手。 It would be really helpful if you could also provide any reference material on how to do it. 如果您还可以提供有关如何操作的任何参考资料,那将非常有用。

There is no equivalent to the Embed API for Android, but there are Java client libraries for querying the various Google APIs that should do what you need. 没有相当于Android的Embed API,但有一些Java客户端库可用于查询应该满足您需求的各种Google API。

This page lists all the client libraries for various languages and should be useful to you in general: 此页面列出了各种语言的所有客户端库,一般对您有用:
https://developers.google.com/analytics/devguides/reporting/core/v3/gdataLibraries https://developers.google.com/analytics/devguides/reporting/core/v3/gdataLibraries

Thanks for the help. 谢谢您的帮助。 The solution was fairly simple. 解决方案非常简单。 All I had to do was to change the ID in the Query to the value of the ID of the account I wanted to use and the request was sent corresponding account. 我所要做的就是将查询中的ID更改为我想要使用的帐户ID的值,并将请求发送到相应的帐户。

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

相关问题 从网站内部访问Google Analytics(分析)数据 - Accessing Google Analytics data from within site 无需身份验证即可从javascript访问Google AnalyticsAPI数据 - Accessing Google Analytics API data from javascript without authentication 使用Javascript和API访问Google Analytics(分析)数据时出现问题 - Issue with accessing Google Analytics data with Javascript and API 仅使用 API 密钥访问 Google Analytics 数据 - Accessing Google Analytics Data With API Key Only Google Analytics(分析)跟踪ID会从其他域发送数据吗? - Will a Google Analytics tracking id send data from a different domain? 跟踪代码管理器中两个Google Analytics(分析)属性的浏览量的不同值 - Different values for Pageviews for two Google Analytics properties in Tag Manager Google Analytics-分析数据和核心平台数据之间的区别 - Google analytics - difference between analytics data and the data from the core platform 从Chrome扩展程序访问Google Analytics(分析)window._gaq - Accessing Google Analytics window._gaq from Chrome Extension Google Analytics API-Analytics属性授权 - Google Analytics API - Authorization on Analytics Properties 从自定义Google Analytics(分析)跟踪器查看数据 - Viewing Data from Custom Google Analytics Tracker
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM