Analyzify's Data Layers

Check out Analyzify's list of available data layers and event sets that can be injected into your theme & store.

If you are familiar with web development, you have probably heard of the term "data layer". It is a crucial part of any e-commerce website and acts as a bridge between the front-end and the back-end of a website. The data layer is a JavaScript object that contains important information about a user's experience with a website like page views, add to cart events, and purchase transactions.

Our advanced data layers include an extensive list of variables, such as product ID, name, brand, and category, to provide you with a comprehensive insights of your customers' interactions on your site. Besides, our event sets cover all standard e-commerce tracking and more.

Let's take a look at our list of available data layer events and descriptions for each event:

sh_info - All Pages

This event is triggered all pages.

DataLayer Event Parameter

User Description

page_type

Page type: refers to the type of content or purpose of a web page. Ex: product, blog, and purchase pages.

user_type

User type refers to a person's category or group on Shopify, such as member or visitor.

user_id

The Shopify ID, which is a unique identification number for a users on the Shopify.

user_r

The date of the logged-in user's latest order date on the Shopify platform.

user_f

The logged-in user's total number of orders on the Shopify platform.

user_m

The total amount of revenue of the logged-in user.

user_eh

The hashed(sha 256) email address of the logged-in user is a unique identifier generated by applying a cryptographic hash function to the user's email address. It is used for secure authentication and other purposes.

Additional Parameters for Thank You Page

This event is triggered when specific additional parameters are passed on the thank you page.

DataLayer Event Parameter

User Description

email

The email address(string) filled in by the customer in the Information step of the checkout process.

email_sha1

The hashed(sha 1) email address of the logged-in user is a unique identifier generated by applying a cryptographic hash function to the user's email address. It is used for secure authentication and other purposes.

phone

Phone number filled in by the customer in the Information step of the checkout process.

tags

address.firstName

First Name filled in by the customer in the Information step of the checkout process.

address.lastName

Last Name filled in by the customer in the Information step of the checkout process.

address.city

City filled in by the customer in the Information step of the checkout process.

address.zip

Zip Code (Postal Code) filled in by the customer in the Information step of the checkout process.

address.address1

The first line of the Address section(required) filled in by the customer in the Information step of the checkout process.

address.address2

The second line of the Address section(optional) filled in by the customer in the Information step of the checkout process.

address.country

Country chosen by the customer in the Information step of the checkout process.

address.countryCode

Country Code generated by Shopify depending on the chosen country in the Information step of the checkout process.

address.province

Province filled in by the customer in the Information step of the checkout process.

address.provinceCode

Province Code generated by Shopify depending on the chosen province in the Information step of the checkout process.

ee_removeFromCart - Remove from cart

This event is triggered when any item is removed from the cart.

DataLayer Event Parameter

User Description

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

product_price

The price of the product removed from cart.

currency

The type of money that the user is currently using on the page.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

quantity

The number of the product removed from cart.

ee_productDetail: Product Detail

This event is triggered when a user views the product detail page for any product.

DataLayer Event Parameter

User Description

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

product_price

The price of the product viewed.

currency

The type of money that the user is currently using on the page.

category_id

Category Id the last element of the category list the product is included in.

category_name

Category Name the last element of the category list the product is included in.

g_product_id

The id format used by default in the Shopify Google Ads app that identifies a specific product. For example, "shopify_GB_11111111111_22222222222", where "GB" represents the country code and the numbers represent the product or group of products.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

ee_addToCart :Add to Cart

This event is triggered when any item is added to the cart.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_price

The price of the product added to cart.

currency

The type of money that the user is currently using on the page.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

category_id

Category Id the last element of the category list the product is included in.

category_title

Category Name the last element of the category list the product is included in.

quantity

The number of the product added from cart.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

g_product_id

The id format used by default in the Shopify Google Ads app that identifies a specific product. For example, "shopify_GB_11111111111_22222222222", where "GB" represents the country code and the numbers represent the product or group of products.

category_handle

The handle is used to build the URL for the resource, or to return properties for the resource. Although the category title changes according to the language, the category handle remains constant. That's why we added it to be used as an alternative to category title if needed.

product_handle

The handle is used to build the URL for the resource, or to return properties for the resource. Although the product title changes according to the language, the produyct handle remains constant. That's why we added it to be used as an alternative to product title if needed.

ee_productClick : Product Click

This event is triggered when a user clicks on any product displayed on the Collection Pages.

DataLayer Event Parameter

User Description

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_price

The price of the product clicked via a list.

category_id

Category Id the last element of the category list the product is included in

category_name

Category Name the last element of the category list the product is included in

currency

The type of money that the user is currently using on the page

product_position

Product Position which is product clicked e.g 7

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

ee_productImpression : Product List

This event is triggered when a user views the list of products displayed on a Collection Page.

DataLayer Event Parameter

User Description

category_name

Category Name the last element of the category list the product is included in

category_id

Category Id the last element of the category list the product is included in

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_price

The price of the product which is viewed via a list.

currency

The type of money that the user is currently using on the page

product_position

Position of the each product e.g 7

g_product_id

The id format used by default in the Shopify Google Ads app that identifies a specific product. For example, "shopify_GB_11111111111_22222222222", where "GB" represents the country code and the numbers represent the product or group of products.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

This event is triggered when a visitor performs a search query.

DataLayer Event Parameter

User Description

page_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

search_term

Search term which is filled by user

search_results

Number of search results e.g 11

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_price

The price of the product in the search results.

currency

The type of money that the user is currently using on the page

product_position

Product Position which is belonging to the search results

g_product_id

The id format used by default in the Shopify Google Ads app that identifies a specific product. For example, "shopify_GB_11111111111_22222222222", where "GB" represents the country code and the numbers represent the product or group of products.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

ee_cartView : Cart View

This event is triggered when a user views their shopping cart on the website.

DataLayer Event Parameter

User Description

page_type

The type of content or purpose of a web page. Ex: product, blog, and purchase pages.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

product_price

The price of each product in the cart, used to calculate the total cost and displayed to the customer.

currency

The type of money that the user is currently using on the page

quantity

The number of each product in the cart, used to calculate the total and displayed to the customer.

totalValue

The total cost of all products in the cart. Used to calculate the final price of the cart.

totalQuantity

The total number of products in the cart, used to calculate the total and displayed to the customer.

ee_checkout : Checkout

This event is triggered when a user begins the checkout process.

DataLayer Event Parameter

User Description

page_type

The type of content or purpose of a web page. Ex: product, blog, and purchase pages.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

product_price

The price of each product in the cart, used to calculate the total cost and displayed to the customer.

currency

The type of money that the user is currently using on the page

quantity

The number of each product in the cart, used to calculate the total and displayed to the customer.

totalValue

The total cost of all products in the cart. Used to calculate the final price of the cart.

totalQuantity

The total number of products in the cart, used to calculate the total and displayed to the customer.

ee_checkout_contact_information : Checkout Contact Information

This event is triggered when a user begins filling out their contact information in the checkout process.

DataLayer Event Parameter

User Description

page_type

The type of content or purpose of a web page. Ex: product, blog, and purchase pages.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

g_product_id

The id format used by default in the Shopify Google Ads app that identifies a specific product. For example, "shopify_GB_11111111111_22222222222", where "GB" represents the country code and the numbers represent the product or group of products.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

product_price

The price of each product in the cart, used to calculate the total cost and displayed to the customer.

currency

The type of money that the user is currently using on the page

quantity

The number of each product in the cart, used to calculate the total and displayed to the customer.

cart_id

The Cart Id is a unique identifier automatically generated by Shopify.

totalValue

The total cost of all products in the cart. Used to calculate the final price of the cart.

totalQuantity

The total number of products in the cart, used to calculate the total and displayed to the customer.

ee_checkout_shipping_method : Checkout Shipping Method

This event is triggered when a user begins the shipping step of the checkout process.

DataLayer Event Parameter

User Description

page_type

The type of content or purpose of a web page. Ex: product, blog, and purchase pages.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

g_product_id

The id format used by default in the Shopify Google Ads app that identifies a specific product. For example, "shopify_GB_11111111111_22222222222", where "GB" represents the country code and the numbers represent the product or group of products.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

product_price

The price of each product in the cart, used to calculate the total cost and displayed to the customer.

currency

The type of money that the user is currently using on the page

quantity

The number of each product in the cart, used to calculate the total and displayed to the customer.

cart_id

The Cart Id is a unique identifier automatically generated by Shopify.

totalValue

The total cost of all products in the cart. Used to calculate the final price of the cart.

totalQuantity

The total number of products in the cart, used to calculate the total and displayed to the customer.

ee_checkout_shipping_method_option: Checkout Shipping Method Option

This event is triggered when a user changes the shipping method during the checkout process.

DataLayer Event Parameter

User Description

page_type

The type of content or purpose of a web page. Ex: product, blog, and purchase pages.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

g_product_id

The id format used by default in the Shopify Google Ads app that identifies a specific product. For example, "shopify_GB_11111111111_22222222222", where "GB" represents the country code and the numbers represent the product or group of products.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

product_price

The price of each product in the cart, used to calculate the total cost and displayed to the customer.

currency

The type of money that the user is currently using on the page

quantity

The number of each product in the cart, used to calculate the total and displayed to the customer.

cart_id

The Cart Id is a unique identifier automatically generated by Shopify.

totalValue

The total cost of all products in the cart. Used to calculate the final price of the cart.

totalQuantity

The total number of products in the cart, used to calculate the total and displayed to the customer.

optionValue

The name of the selected shipping option

ee_checkout_payment_method: Checkout Payment Method

This event is triggered when a user begins the payment step of the checkout process.

DataLayer Event Parameter

User Description

page_type

The type of content or purpose of a web page. Ex: product, blog, and purchase pages.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

g_product_id

The id format used by default in the Shopify Google Ads app that identifies a specific product. For example, "shopify_GB_11111111111_22222222222", where "GB" represents the country code and the numbers represent the product or group of products.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

product_price

The price of each product in the cart, used to calculate the total cost and displayed to the customer.

currency

The type of money that the user is currently using on the page

quantity

The number of each product in the cart, used to calculate the total and displayed to the customer.

cart_id

The Cart Id is a unique identifier automatically generated by Shopify.

totalValue

The total cost of all products in the cart. Used to calculate the final price of the cart.

totalQuantity

The total number of products in the cart, used to calculate the total and displayed to the customer.

ee_checkout_payment_method_option: Checkout Payment Method Option

This event is triggered when a user changes the payment method during the checkout process.

DataLayer Event Parameter

User Description

page_type

The type of content or purpose of a web page. Ex: product, blog, and purchase pages.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

g_product_id

The id format used by default in the Shopify Google Ads app that identifies a specific product. For example, "shopify_GB_11111111111_22222222222", where "GB" represents the country code and the numbers represent the product or group of products.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

product_price

The price of each product in the cart, used to calculate the total cost and displayed to the customer.

currency

The type of money that the user is currently using on the page

quantity

The number of each product in the cart, used to calculate the total and displayed to the customer.

cart_id

The Cart Id is a unique identifier automatically generated by Shopify.

totalValue

The total cost of all products in the cart. Used to calculate the final price of the cart.

totalQuantity

The total number of products in the cart, used to calculate the total and displayed to the customer.

optionValue

The name of the selected shipping option

ee_purchase: Purchase

This event is triggered when a user completes the checkout process.

DataLayer Event Parameter

User Description

page_type

The type of content or purpose of a web page. Ex: product, blog, and purchase pages.

product_id

The Product Id is a unique identifier automatically generated by Shopify for each product in a store. This string of numbers, such as "6724874371230", is used to identify and manage the product.

product_name

The Product Title is the name or description of a product entered into the Shopify interface. It is displayed to customers and used to help them identify and learn more about the product.

product_type

The Product Type is a category or group assigned to a product through the Shopify interface, and is used to organize and classify products within a store.

product_brand

The Product Brand (Vendor) is the name of the company or individual that manufactures or sells the product. It is entered into the Shopify interface and displayed to customers for identification and searching.

product_sku

The Product SKU is a unique identifier assigned to a product through the Shopify interface and used to track and manage the product. For example, "PB2SEATAR".

g_product_id

The id format used by default in the Shopify Google Ads app that identifies a specific product. For example, "shopify_GB_11111111111_22222222222", where "GB" represents the country code and the numbers represent the product or group of products.

variant_id

The Variant Id is a unique identifier automatically generated by Shopify for each product variant within a store. For example, "39952220061854".

variant_title

The Variant Title is the name or description of a product variant within a cart, and is used to help customers identify the specific product variant.

product_price

The price of each product in the cart, used to calculate the total cost and displayed to the customer.

currency

The type of money that the user is currently using on the page

quantity

The number of each product in the cart, used to calculate the total and displayed to the customer.

tax

The tax price of the transaction

shipping

The shipping price of the transaction

payment_type

Payment Gateway which was selected by the customer while adding payment info

checkout_id

The Checkout Id is a unique identifier automatically generated by Shopify after transaction is completed.e.g 25736303935687

order_id

The Order Id is a unique identifier automatically generated by Shopify after transaction is completed. e.g 4878748221639

order_name

The Order Name is a unique identifier assigned to a transaction created in the specified format through the Shopify interface. e.g #AB123

discount_amount

The total discount amount of a transaction

coupon

The coupon code of the discount amount.

totalValue

The total cost of all products in the cart. Used to calculate the final price of the cart.

totalQuantity

The total number of products in the cart, used to calculate the total and displayed to the customer.

Table Of Contents