// mandatory - a unique code for the product, like its SKU var itemCode = 'COW-T-SHIRT'; // mandatory - the name / title of this product var itemName = 'Cow T-Shirt'; // mandatory - the image url of this product var itemImage = 'http://your.store/product-color-blue.jpg'; // mandatory - the price of this product var itemPrice = 12.02; // mandatory - the url to get to the relevant product page var itemUrl = 'http://your.store/product-101'; // mandatory var itemQuantity = 2; // mandatory - the total price for purchasing the given quantity of this product var itemTotalPrice = 24.04; // optional - the category of this product var itemCategory = 'T-Shirts'; // optional - the manufacturer, brand name or company / owner of this product (if any) var itemManufacturer = 'Acme Co'; // optional - the supplier of this product (if any) var itemSupplier = 'Supplier Co'; // you can add custom properies and later use them in segmentations or automations // You can track things like the color or the sze of the t-shirt in this case var extraProps = {'color': 'Red', 'size': 'XXL'}; // Tracking add to cart events with mandatory arguments mootrack('trackAddToOrder', itemCode, itemPrice, itemUrl, itemQuantity, itemTotalPrice); // Tracking add to cart events with mandatory arguments + optional mootrack('trackAddToOrder', itemCode, itemPrice, itemUrl, itemQuantity, itemTotalPrice, itemName, itemImage, extraProps); // send order completed events var product1 = { // mandatory - a unique code for the product, like its SKU itemCode: 'COW-T-SHIRT', // mandatory - the name / title of this product itemName: 'Cow T-Shirt', // mandatory - the image url of this product itemImage: 'http://your.store/product-color-blue.jpg', // mandatory - the price of this product itemPrice: 12.02, // mandatory - the url to get to the relevant product page itemUrl: 'http://your.store/product-101', // mandatory itemQuantity: 2, // mandatory - the total price for purchasing the given quantity of this product itemTotalPrice: 24.04, // optional - the category of this product itemCategory: 'T-Shirts', // optional - the manufacturer, brand name or company / owner of this product (if any) itemManufacturer: 'Acme Co', // optional - the supplier of this product (if any) itemSupplier: 'Supplier Co', // you can add custom properies and later use them in segmentations or automations color: 'Red', // You can track things like the color size: 'XXL' // or the size of the t-shirt in this case }; // Products should be an array with an object like product. var products = [product1, product2, ....]; mootrack('trackOrderCompleted', products); var product1 = { // mandatory - a unique code for the product, like its SKU itemCode: 'COW-T-SHIRT', // mandatory - the name / title of this product itemName: 'Cow T-Shirt', // mandatory - the image url of this product itemImage: 'http://your.store/product-color-blue.jpg', // mandatory - the price of this product itemPrice: 12.02, // mandatory - the url to get to the relevant product page itemUrl: 'http://your.store/product-101', // mandatory itemQuantity: 2, // mandatory - the total price for purchasing the given quantity of this product itemTotalPrice: 24.04, // optional - the category of this product itemCategory: 'T-Shirts', // optional - the manufacturer, brand name or company / owner of this product (if any) itemManufacturer: 'Acme Co', // optional - the supplier of this product (if any) itemSupplier: 'Supplier Co', // you can add custom properies and later use them in segmentations or automations color: 'Red', // You can track things like the color size: 'XXL' // or the size of the t-shirt in this case }; // Product should be sent back as an array with an object which includes the product above var productInfo = [{ product: product1 }]; mootrack('PAGE_VIEWED', productInfo);
top of page

Groups

Groups Feed

This post is from a suggested group

Welcome to the group! You can connect with other members, get updates and share photos.

bottom of page