SHOW:
|
|
- or go back to the newest paste.
| 1 | window.dataLayer = window.dataLayer || []; | |
| 2 | window.dataLayer.push({
| |
| 3 | - | event: 'ga4_view_promotion', |
| 3 | + | event: 'view_promotion', |
| 4 | ecommerce: {
| |
| 5 | items: [{
| |
| 6 | promotion_id: 'abc123', // Required. Promotion Campaign ID - Type: String | |
| 7 | - | promotion_name: 'summer_campaign_2022', // Required. Promotion Campaign Name - Type: String |
| 7 | + | promotion_name: 'neo15_promo', // Required. Promotion Campaign Name - Type: String |
| 8 | - | creative_name: 'big_TV_sales', // Promotion Creative Name - Type: String |
| 8 | + | creative_name: 'nema_sta_nema', // Promotion Creative Name - Type: String |
| 9 | creative_slot: '1', // Promotion Creative Slot - Type: String | |
| 10 | location_id: 'hero_banner' // Promotion Creative Location ID - Type: String | |
| 11 | },{
| |
| 12 | - | promotion_id: 'wc2022', |
| 12 | + | promotion_id: 'abc457', |
| 13 | - | promotion_name: 'winter_campaign_2022', |
| 13 | + | promotion_name: 'popust_na_tarifu', |
| 14 | - | creative_name: 'new_PC_games', |
| 14 | + | creative_name: 'beli_baner_popust', |
| 15 | creative_slot: '2', | |
| 16 | location_id: 'hero_banner' | |
| 17 | },{
| |
| 18 | // Another promotion | |
| 19 | }] | |
| 20 | } | |
| 21 | }); |