Variables sent to Google Analytics

Modified on Wed, 20 May at 4:22 PM

Below are the variables sent to Google Analytics via e-commerce in measurement protocol:  


Transaction structure:


- Full URL (dl)
- Host (dh)
- Path (dp)
- IP (uip)
- Referrer (dr)
- Hit type (t) = "transaction"
- Client ID (cid)
- Transaction ID (ti)
- Transaction affiliation (ta)
- Revenue (tr)
- Currency (cu)


Item structure within the transaction:


- Full URL (dl)
- Host (dh)
- Path (dp)
- IP (uip)
- Referrer (dr)
- Hit type (t) = "item"
- Client ID (cid)
- Transaction ID (ti)
- Transaction affiliation (ta)
- Item name (in)
- Price (ip)
- Quantity (iq)
- Item ID (ic)
- Item category (iv)
- Currency (cu)

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article