View All Event Triggers and Data Layer Variables

Learn about the primary event triggers and data layer variables used with version 2.0+ of our data layer on Shopify

Event Triggers

When data is pushed into the data layer from your Shopify store it is done through events in the Elevar code snippets. These match up to the triggers that are imported to GTM assigned to marketing tags.

Event NameDescription
dl_user_dataFired on every page. Similar to a pageview.
dl_view_item_listProducts from a collection list appear in the viewport of a users browsers
dl_view_itemUser viewed a product
dl_search_resultsUser viewed a search results page
dl_select_itemUser clicked a product within a collection list
dl_add_to_cartUser added a product to the cart
dl_remove_from_cartUser removed a product from the cart
dl_view_cartUser viewed the cart
dl_begin_checkoutUser has started the checkout*
dl_add_shipping_infoUser has entered shipping info*
dl_add_payment_infoUser has entered payment info*
dl_purchaseUser has placed and order
dl_create_accountUser created an account
dl_loginUser logged into their account
dl_subscribeUser signed up for email or SMS

* some checkout events are not available int express checkouts

Full List of Variables

The table below shows the full list of variables that come with our full container downloads.

In the details, we've noted which variables have error monitoring enabled.

πŸ“˜

Wondering what error monitoring is for variables?

Learn how to setup error monitoring in your dev console with this guide.

GTM Variable NameDetails
cookie - GA Client ID1st Party Cookie
dlv - Add to Cart - Add ArrayError Monitoring Enabled
dlv - Add to Cart - CategoryError Monitoring Disabled
dlv - Add to Cart - Compare At PriceError Monitoring Disabled
dlv - Add to Cart - ImageError Monitoring Disabled
dlv - Add to Cart - InventoryError Monitoring Enabled
dlv - Add to Cart - PriceError Monitoring Enabled
dlv - Add to Cart - Product IDError Monitoring Enabled
dlv - Add to Cart - Product NameError Monitoring Enabled
dlv - Add to Cart - QuantityError Monitoring Disabled
dlv - Add to Cart - SKUError Monitoring Enabled
dlv - Add to Cart - Variant IDError Monitoring Enabled
dlv - ecommerce.cart_contents.productsError Monitoring Enabled
dlv - Cart TotalError Monitoring Disabled
dlv - Collection View - NameError Monitoring Disabled
dlv - Customer EmailError Monitoring Disabled
dlv - Customer IDError Monitoring Disabled
dlv - Customer User Consent StatusError Monitoring Disabled
dlv - ecommerce.checkout.productsError Monitoring Enabled
dlv - ecommerce.impressionsError Monitoring Enabled
dlv - event_idError Monitoring Disabled
dlv - Global - Currency CodeError Monitoring Enabled
dlv - Global - Visitor TypeError Monitoring Disabled
dlv - marketing - gclidError Monitoring Disabled
dlv - marketing - landing_siteError Monitoring Disabled
dlv - marketing - utm_campaignError Monitoring Disabled
dlv - marketing - utm_mediumError Monitoring Disabled
dlv - marketing - utm_sourceError Monitoring Disabled
dlv - Product View - BrandError Monitoring Disabled
dlv - Product View - Category NameError Monitoring Disabled
dlv - Product View - Compare At PriceError Monitoring Disabled
dlv - Product View - Details ArrayError Monitoring Enabled
dlv - Product View - ImageError Monitoring Disabled
dlv - Product View - InventoryError Monitoring Enabled
dlv - Product View - NameError Monitoring Enabled
dlv - Product View - PriceError Monitoring Enabled
dlv - Product View - Product IDError Monitoring Enabled
dlv - Product View - SKUError Monitoring Enabled
dlv - Product View - Variant IDError Monitoring Enabled
dlv - Remove From Cart - ArrayError Monitoring Disabled
dlv - Select Item - ArrayError Monitoring Disabled
dlv - Thank You Page - Coupon Code NameError Monitoring Disabled
dlv - Thank You Page - Customer Address 1Error Monitoring Disabled
dlv - Thank You Page - Customer Address 2Error Monitoring Disabled
dlv - Thank You Page - Customer CityError Monitoring Disabled
dlv - Thank You Page - Customer Country CodeError Monitoring Disabled
dlv - Thank You Page - Customer EmailError Monitoring Enabled
dlv - Thank You Page - Customer First NameError Monitoring Disabled
dlv - Thank You Page - Customer IDError Monitoring Disabled
dlv - Thank You Page - Customer Last NameError Monitoring Disabled
dlv - Thank You Page - Customer Lifetime ValueError Monitoring Disabled
dlv - Thank You Page - Customer Phone NumberError Monitoring Disabled
dlv - Thank You Page - Customer Province CodeError Monitoring Enabled
dlv - Thank You Page - Customer StateError Monitoring Disabled
dlv - Thank You Page - Customer Total Order CountError Monitoring Disabled
dlv - Thank You Page - Customer ZipError Monitoring Disabled
dlv - Thank You Page - Discount AmountError Monitoring Disabled
dlv - Thank You Page - ecommerce.purchase.productsError Monitoring Enabled
dlv - Thank You Page - Order IDError Monitoring Enabled
dlv - Thank You Page - Order NameError Monitoring Enabled
dlv - Thank You Page - Order RevenueError Monitoring Enabled
dlv - Thank You Page - Order SubtotalError Monitoring Enabled
dlv - Thank You Page - ShippingError Monitoring Disabled
dlv - Thank You Page - TaxError Monitoring Disabled
DOM - Page TitleDOM Element
js - Checkout Page - Product IDsCustom JavaScript
js - Checkout Page - SKUsCustom JavaScript
js - Checkout Page - Variant IDsCustom JavaScript
js - Facebook - Content IDs - Cart PageCustom JavaScript
js - Facebook - Content IDs - Checkout PageCustom JavaScript
js - Facebook - Content IDs - Thank You PageCustom JavaScript
js - GA4 - add to cartCustom JavaScript
js - GA4 - begin checkoutCustom JavaScript
js - GA4 - purchaseCustom JavaScript
js - GA4 - remove from cartCustom JavaScript
js - GA4 - select itemCustom JavaScript
js - GA4 - view cartCustom JavaScript
js - GA4 - view itemCustom JavaScript
js - GA4 - view item listCustom JavaScript
js - Google Ads - Add to Cart - SKUCustom JavaScript
js - Google Ads - Cart Page - SKUCustom JavaScript
js - Google Ads - Collection Page - SKUCustom JavaScript
js - Google Ads - Product View - SKUCustom JavaScript
js - Google Ads - Purchase - SKUCustom JavaScript
js - Google Ads - Purchase Product DataCustom JavaScript
js - Remove PII from GA HitCustom JavaScript
js - Thank You Page - Product ID ArrayCustom JavaScript
js - Thank You Page - Product_ID ArrayCustom JavaScript
js - Thank You Page - Variant_ID ArrayCustom JavaScript
regex - Page TypeRegEx Table
url - Search - Search TermURL