Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

 

Excerpt

Google's Tag Manager allows administrators and digital marketers to track user behaviour and improve conversion rates on their websites. To this end, Commerce Vision websites on version 3.87+ now have tracking functionality enabled out of the box, pushing rich data on nearly every site event.

This guide details the data sent for various events, which can then be used with Tag Manager's Remarketing and Enhanced eCommerce functions. 

...

Code Block
languagejs
{
	"event": "productClick",
	"ecommerce": {
		"click": {
			"actionField": {
				"list": "list name"
			},
			"products": [
			{
				"name": "Product Description",
				"id": "ProductCode",
				"category": "/first level/second level/third level",
				"brand": "brand name",
				"price": "99.99"
			}
			]
		}
	}
}

...

Anchor
ecomcheckout
ecomcheckout
Checkout Options

  • step
    • the step number

    option
    • Cart
    • Login
    • Address
    • Payment
    • Order Complete
      Info

      // Step 1 - going to the cart

                  // Step 2 - attempting to checkout but need to log in

                  // Step 3 - going to the delivery options

                  // Step 4 - going to the payment options

                  // Step 5 - going to submit the order

 

checkout steps

Code Block
languagejs
{
	"event": "checkout",
	"event_type": "checkout",
	"ecommerce": {
		"checkout": {
			"actionField": {
				"step": 1
			},
			"products": [
			{
				"name": "Product Description",
				"id": "ProductCode",
				"category": "/first level/second level/third level",
				"brand": "brand name",
				"price": "99.99"
			}
			]
		}
	}
}

checkout options

  • step
    • the step number (from the checkout steps above)

  • option
    • The selected option at this step, for example the freight option selected at option 3 or payment method at option 4

 

Code Block
languagejs
{
	"event": "checkoutOption",
	"event_type": "checkout",
	"ecommerce": {
		"checkout_option": {
			"actionField": {
				"step": 1,
				"option": "Cart"
			}
		}
	}
}

...