Data Destination - Google Analytics Measurement Protocol
  • 07 Dec 2022
  • Dark
    Light
  • PDF

Data Destination - Google Analytics Measurement Protocol

  • Dark
    Light
  • PDF

Article Summary

Note

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

Iteminput exampleexplanation
Tracking ID
or
Web Property ID
UA-00000-1Enter 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)typerequireddescriptioninput example
tstringYESHit Type
pageviewscreenvieweventtransactionitemsocialexceptiontiming You must specify one of the following:
pageview
cidstringRequired if no user ID (uid) is specifiedClient ID
uidstringRequired if client ID (cid) is not specifiedUser ID
dpstringNODocument Path/page1
uipstringNOUser IP
If not entered, trocco's IP will be sent.
We recommend that you set it up for analysis.
8.8.8.8
uastringNOUser 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.


Was this article helpful?