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
Feedback sent
We appreciate your effort and will try to fix the article