View difference between Paste ID: rMPfuTNT and 9ezLC32y
SHOW: | | - or go back to the newest paste.
1
window.dataLayer = window.dataLayer || [];
2
window.dataLayer.push({
3
  event: 'view_promotion',
4
  ecommerce: {
5
    items: [{
6-
      promotion_id: 'abc123',                             // Required. Promotion Campaign ID - Type: String
6+
      promotion_id: 'ofmp-bornbred-banner-jan21',                             // Required. Promotion Campaign ID - Type: String
7-
      promotion_name: 'neo15_promo',                      // Required. Promotion Campaign Name - Type: String
7+
      promotion_name: 'Born and bred',                      // Required. Promotion Campaign Name - Type: String
8-
      creative_name: 'nema_sta_nema',                     // Promotion Creative Name - Type: String
8+
      creative_name: 'Born and bred in Houston, TX',                     // Promotion Creative Name - Type: String
9-
      creative_slot: '1',                                 // Promotion Creative Slot - Type: String
9+
      creative_slot: 'hero_banner_1',                                 // Promotion Creative Slot - Type: String
10-
      location_id: 'hero_banner'                          // Promotion Creative Location ID - Type: String
10+
      location_id: 'hero_banner_homepage'                          // Promotion Creative Location ID - Type: String
11
    },{
12-
      promotion_id: 'abc457',
12+
13-
      promotion_name: 'popust_na_tarifu',
13+
14-
      creative_name: 'beli_baner_popust',
14+
15-
      creative_slot: '2',
15+