Variables that are sent to Google Analytics

Modified on Fri, 17 Mar, 2023 at 10:59 AM

The variables that are sent to Google Analytics through electronic commerce in the measurement protocol are detailed below:


Transaction structure:


  • Full URL (dl)

  • Host (dh)

  • Route (dp)

  • IP (uip)

  • Referrer (dr)

  • hittype(t) = "transaction"

  • Client ID (cid)

  • Transaction ID (ti)

  • Transaction affiliation (ta)

  • Income (tr)

  • Currency (cu)



Structure of the item within the transaction:


  • Full url (dl)

  • Host (dh)

  • Route (dp)

  • IP (uip)

  • Referrer (dr)

  • hit type(t) = "item"

  • Client ID (cid)

  • Transaction ID (ti)

  • Transaction affiliation (ta)

  • Name (in)

  • Price (ip)

  • Quantity (i.q.)

  • ID(ic)

  • 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