Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 8.2

...

Code Block
languagejs
themeRDark
titleExample: Triggering a product view event with multiple product categories for recommendation filtering
dataLayer.push({
    frosmoProductId: '234567',
    frosmoProductCategory: '',
    frosmoProductDatafrosmoProductCategories: {
        category: [
            'Accessories',
            'Bedding',
            'Toys'
 
      ]
    },
    frosmoProductImage: '/images/cheetah_pillow.png',
    frosmoProductName: 'Cheetah Pillow',
    frosmoProductPrice: 29.99,
    frosmoProductUrl: '/products/234567'
});

...