This is an unofficial Google Analytics parameters list of the query parameters to send to Google Analytics for various types of tracking occurrences. This list pertains specifically to Universal Analytics using analytics.js
as well as the Google Analytics Enhanced Ecommerce plugin.
This Google Analytics parameters list was complied by me through my work of implementing Google Analytics Universal on several eCommerce websites. Use this parameters list as a reference to what query parameters need to be set and formatted when sending tracking requests to Google Analytics.
Note: {x} below indicates a variable number placeholder.
Note: {y} below indicates a numeric placeholder that matches with a custom variable set in the Google Analytics Admin.
Parameter | Parameter Name | Data Format | Relates To | Expected Values |
---|---|---|---|---|
ec:addImpression | ||||
il1nm | List Name | string | ||
il1pi{x}id | Product ID | string | ||
il1pi{x}nm | Product Name | string | ||
il1pi{x}ca | Category | string | ||
il1pi{x}br | Brand | string | ||
il1pi{x}va | Variant (color) | string | ||
il1pi{x}ps | List position | number | ||
ga(‘send’, ‘event’ | ||||
Event Category | Event Category | string | ||
Event Action | Event Action | string | ||
Event Label | Event Label | string | ||
Event Value | Event Value | number | ||
ec:setAction | ||||
pal | Action | string | click | |
pa | List | string | add, remove, click, detail, checkout, checkout_option, purchase, refund, promo_click | |
cos | Checkout Step | array | checkout | |
col | Checkout Option | string | checkout | |
ti | Transaction ID | string | purchase | |
ta | Store where Purchase Occurred | string | purchase | |
tr | Revenue | string | purchase | |
tt | Tax Amount | string | purchase | |
ts | Shipping Amount | string | purchase | |
tcc | Transaction Coupon Code | string | purchase | |
ec:addProduct | ||||
pr{x}id | Product ID | string | ||
pr{x}nm | Product Name | string | ||
pr{x}pr | Product Price | float | ||
pr{x}ca | Category | string | ||
pr{x}br | Brand | string | ||
pr{x}va | Variant (color) | string | ||
pr{x}ps | Position in list | number | ||
pr{x}cc | Product Coupon Code | string | ||
pr{x}cm{y} | Product Custom Metric | number | ||
pr{x}cd{y} | Product Custom Dimension | string | ||
ga(‘send’, ‘social’ | ||||
sn | Social Network | string | ||
sa | Social Action | string | Like, Pin, etc. | |
st | Social Target | string | URL of page the action references | |
Google Analytics Base Parameters | ||||
_utma | ||||
_utmz | ||||
_utmht | ||||
Custom Metrics & Custom Dimensions | ||||
cm{y} | Custom Metric | number | ||
cd{y} | Custom Dimension | string | ||
Universal Analytics | ||||
t | Hit Type | string | pageview, event | |
ni | Non-Interaction Hit | boolean | 1 | |
dl | Document Location URL | string | ||
dr | Document Referrer | string | Page view | URL identifying the site/page the directed the visitor to this page. |
dt | Document Title | string | Page view | Title tag of page |