- 07 Dec 2022
- 1 Minute to read
-
Print
-
DarkLight
Data Destination - Google Analytics Measurement Protocol
- Updated on 07 Dec 2022
- 1 Minute to read
-
Print
-
DarkLight
This is a machine-translated version of the original Japanese article.
Please understand that some of the information contained on this page may be inaccurate.
summary
This is a help page for setting up forwarding to Google Analytics Measurement Protocol.
- Data can be extracted from any source and sent to the Measurement Protocol.
According to the format of the Measurement Protocol, column names and types must be mapped on trocco. - Only Universal Analytics is supported. Google Analytics 4 is not supported.
Setting items
Basic settings
Item | input example | explanation |
---|---|---|
Tracking ID or Web Property ID | UA-00000-1 | Enter the Universal Analytics property ID of the destination. |
Column Mapping
Data can be sent to the Measurement Protocol by mapping column names and types in the column definition in STEP2 of trocco.
Make sure that the column names and types match as shown in the following table.
The parameters listed in the Measurement Protocol Parameters Reference are configurable with the following exceptions:
* Parameters that cannot be set
- v (protocol version)
- api (anonymous IP)
- z (invalidate cache)
- tid (tracking ID or web property ID)
Since it is an item that can be set in the transfer settings, it is ignored if it is included in the data.
The following are typical parameters:
For other parameters, see the Measurement Protocol Parameter Reference.
Column name (parameter) | type | required | description | input example |
---|---|---|---|---|
t | string | YES | Hit Type pageview、screenview、event、transaction、item、social、exception、timing You must specify one of the following: | pageview |
cid | string | Required if no user ID (uid) is specified | Client ID | |
uid | string | Required if client ID (cid) is not specified | User ID | |
dp | string | NO | Document Path | /page1 |
uip | string | NO | User IP If not entered, trocco's IP will be sent. We recommend that you set it up for analysis. | 8.8.8.8 |
ua | string | NO | User Agent If not entered, the user agent specified by trocco is sent. We recommend that you set it up for analysis. |
For other configurable parameters, see the Measurement Protocol Parameter Reference.