适用于 Power BI Desktop 的 Google Analytics 连接器Google Analytics connector for Power BI Desktop

备注

Power BI Desktop 中的 Google Analytics 内容包和连接器依赖于 Google Analytics Core Reporting API。The Google Analytics content pack and the connector in Power BI Desktop rely on the Google Analytics Core Reporting API. 同样,功能和可用性可能会随着时间推移有所不同。As such, features and availability may vary over time.

可以使用 Google Analytics(分析)连接器连接 Google Analytics(分析)数据。You can connect to Google Analytics data using the Google Analytics connector. 若要连接,请执行以下步骤:To connect, follow these steps:

  1. Power BI Desktop 中,选择“主页”功能区选项卡中的“获取数据”。In Power BI Desktop, select Get Data from the Home ribbon tab.
  2. 获取数据窗口中,从左侧窗格中的类别选择其他In the Get Data window, select Other from the categories in the left pane.
  3. 从右侧窗格中的选择中选择 Google AnalyticsSelect Google Analytics from the selections in the right pane.
  4. 在窗口底部,选择连接At the bottom of the window, select Connect.

你将看到一个提示对话框,说明连接器是一种第三方服务,并警告功能和可用性可能会随着时间推移有所不同,以及其他说明。You're prompted with a dialog that explains that the connector is a Third-Party Service, and warns about how features and availability may change over time, and other clarifications.

选择“继续”后,系统会提示你登录 Google Analytics(分析)。When you select Continue, you're prompted to sign in to Google Analytics.

当你输入凭据时,系统会提示你希望你脱机访问 Power BI。When you enter your credentials, you're prompted that Power BI would like to have offline access. 这便是如何使用 Power BI Desktop 访问 Google Analytics(分析)数据。This is how you use Power BI Desktop to access your Google Analytics data.

接受后,Power BI Desktop 会立即显示你当前已登录。Once you accept, Power BI Desktop shows that you're currently signed in.

选择“连接”后,你的 Google Analytics(分析)数据会与 Power BI Desktop 连接并加载。Select Connect, and your Google Analytics data is connected to Power BI Desktop, and loads the data.

API 的更改Changes to the API

尽管我们尝试依照任何更改发布更新,API 可能会以影响我们生成的查询的结果的方式进行更改。Although we attempt to release updates in accordance with any changes, the API may change in a way that affects the results of the queries we generate. 在某些情况下,某些查询可能不再受支持。In some cases, certain queries may no longer be supported. 由于此依赖关系,使用此连接器时,我们无法保证你的查询的结果。Due to this dependency we cannot guarantee the results of your queries when using this connector.

有关 Google Analytics API 的更改的详细信息可在更改日志中找到。More details on changes to the Google Analytics API can be found in their changelog.