Versions Compared

Key

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

...

Table of Contents
maxLevel2
typeflat

Contact data

Push contact's information (contact Number, hash Email) for all online journeys.

Code Block
languagejs
titleContact's data Example
collapsetrue
<script>
dataLayer.push ({
  'event':'ee-productImpression'
  'ecommerce': {
    'impressions': []
    'user': [
		'contactNumber':'3010'
		'hashEmail':'a73070283a933005e429eda4ad2e219ce304404dbd518dd6f9624e64a8ea52eb'
   }
});
</script> 

Product impression and action data

...

Code Block
languagejs
titleProduct impression DataLayer Example
collapsetrue
<script>
dataLayer.push ({
  'event':'ee-productImpression'
  'ecommerce': {
    'impressions': [{
      'id':'12345678',                  // Product ID, Tour ID. If on landing display multiple timeslots or multiple performances, push product ID of the Pass or Event multiple times.
      'name':'Romeo & Juliet',          // Product name, Tour name
      'brand':'Event / Drama',          // Product Family Type / Topic of the product (if set) 
      'position':0,                     // Position of a product in a given Section (landing page) or Product type (Landing page list view or Normal view). Position of a product in a Section can be different if user change the day view (Today, Tomorrow, After,...)
      'list': 'Hot topic'               // On Landing page content return Section name, on Landing page list view return Product type name (for a Product type products can be grouped by topic (sub-grouping), please set position and list by Topic name in this case
     },
     {
      'id':'ABC124',
      'name':'Product Name',
      'brand':'Product Brand',
      'position':1,
      'list': 'Hot topic'
     }]
   }
});
</script> 

...

2. Promotion impression (Advantage)

Push Promotion impression data to datalayer on the same pages and sections mentionned above :

Code Block
languagejs
titlePromotion (advantage) impression DataLayer Example
collapsetrue
<script>
dataLayer.push ({
  'event':'ee-promoImpression'
  'ecommerce':{
    'promoView':{
      'promotions':[{
      'id':'177664',                            // Advantage ID
      'name':'Member Exclusive',                // Advantage name
      'creative':'Only for member',             // Advantage description
      'position':1                              // Position of a product in a given Section (landing page) or Product type (Landing page list view or Normal view)
     }]
   }
  }
});
</script> 

3. Product details impression

Data pushed when :

  • A product is clicked (accessing the product details page)
  • For the calculated season tickets, it is at the ticket selection page
  • For the Hospitality product family, it is at the hospitality selection page
  • At the ticket selection page.


Code Block
languagejs
titleProduct details impression DataLayer Example
collapsetrue
<script>
dataLayer.push({
  'event':'ee-productView'
  'ecommerce': {
    'detail': {
        'products': [{
        'id':'ABC123',						// Product ID
        'name':'Product Name',				// Product name
        'brand':'Product Brand',			// Product Family Type / Topic of the product (if set)
       }]
     }
   }
});
</script> 

4. Product click

Push Product details' data when user clicks a product


Code Block
languagejs
titleProduct click DataLayer Example
collapsetrue
<script>
dataLayer.push({
  'event':'ee-productClick'
  'ecommerce': {
    'click': {
      'actionField': {
      'list': 'Product list name'
      },
      'products': [{
        'id':'ABC123',						// Product ID
        'name':'Product Name',				// Product name
        'brand':'Product Brand',			// Product Family Type / Topic of the product (if set)
        'position':0						// Position of a product in a given Section (landing page) or Product type (Landing page list view or Normal view)
        }]
       }
    }
});
</script> 

5. Promotion click

Push Product details' data when user clicks a product


Code Block
languagejs
titlePromotion click DataLayer Example
collapsetrue
<script>
dataLayer.push ({
  'event':'ee-promoClick',
  'ecommerce':{
    'promoClick':{
      'promotions':[{
        'id':'Promo ID',						// Advantage ID
        'name':'Promo name',					// Advantage name
        'creative':'Creative name',				// Advantage description
        'position':Position						// Position of a product in a given Section (landing page) or Product type (Landing page list view or Normal view)
        }]
      }
    }
});
</script>