Spotfire® 用户指南

Google Analytics 连接器 - 功能和设置

可以连接到 Google Analytics 并使用它访问数据。在此页面上,可以了解相关功能、可用设置以及处理与 Google Analytics 的数据连接时的注意事项。

页面内容

连接器功能

使用 Google Analytics 连接器访问数据时,可以使用以下功能。

功能 支持?
加载方法 导入(内存中)
自定义查询
预存程序
自定义连接属性
使用身份提供程序进行单点登录
在 Web 客户端中编写
包含在 Linux 上的 Spotfire 发行版中

数据源属性

连接到 Google Analytics 时,连接数据源没有任何属性。

受支持的数据类型

设置到外部数据源的连接时,Spotfire 需要将数据源中的数据类型映射到 Spotfire 中的数据类型。以下是 Google Analytics 连接器支持的数据类型。

表 1. Google Analytics
数据库数据类型 Spotfire 数据类型
CURRENCY Currency
INTEGER LongInteger
FLOAT Real
PERCENT Real
TIME TimeSpan
表 2. 维度
数据库数据类型 Spotfire 数据类型
STRING

在大多数情况下。

String
STRING
在维度为以下任意一项的情况下:
  • Query Word Count
  • Hour of Day
  • Day of the Month
  • 周中第几日
  • Days Since Last Session
  • Days to Transaction
  • 小时
  • Internal Promotion Position
  • ISO Week of the Year
  • ISO Year
  • ISO Week of ISO Year
  • Minute
  • Month of the year
  • Day Index
  • Hour Index
  • Minute Index
  • Month Index
  • Week Index
  • Page Depth
  • Product List Position
  • Screen Depth
  • Count of Sessions
  • Session Duration
  • Sessions to Transaction
  • Week of the Year
  • Year
  • Month of Year
  • Week of Year
Integer
STRING

在维度为“日期”时。

Date
STRING

在维度为“经度”或“纬度”时。

Real

支持的函数

由于 Google Analytics 仅支持导入的(内存中)数据,因此可以使用 Spotfire 内存数据引擎中提供的函数来处理 Google Analytics 数据。