Docs
Plugins
Sources
Google Analytics
Tables

Source Plugin: googleanalytics

Tables

All tables propagated by googleanalytics plugin are dynamic. The following rules are adhered to while creating table scheme and propagating data.

Table name

Every table name is constructed as ga_ prefix followed by a report name in snake case. An error will be reported if you have several reports that have different names but the snake case transformation produces the same string.

Schema

The composite primary key for this table is (property_id, date, dimension_hash). It supports incremental syncs based on the date column.

Columns

NameType
_cq_source_nameString
_cq_sync_timeTimestamp
_cq_idUUID
_cq_parent_idUUID
property_id (PK)String
date (PK) (Incremental Key)Timestamp
dimensionsJSON
dimension_hash (PK)ByteArray
metricsJSON
data_lossBool

dat_loss column

Data loss indicates if the (other) value is present due to hitting Google Analytics limits. To learn more, read this article (opens in a new tab).