SHOW:
|
|
- or go back to the newest paste.
| 1 | window.dataLayer = window.dataLayer || []; | |
| 2 | window.dataLayer.push({
| |
| 3 | - | event: 'add_to_cart', |
| 3 | + | event: 'add_to_wishlist', |
| 4 | ecommerce: {
| |
| 5 | items: [{
| |
| 6 | - | item_name: 'ECLIPSE Blackoil Reservoir Simulation', //Product Name - Type: string |
| 6 | + | item_name: 'ECLIPSE Blackoil Reservoir Simulation', //Product Name - Type: string |
| 7 | - | item_id: '71274', //Product ID/SKU - Type: string |
| 7 | + | item_id: '71274', //Product ID/SKU - Type: string |
| 8 | - | price: 4000.00, //Product price - Type: number |
| 8 | + | price: 4000.00, //Product price - Type: number |
| 9 | currency: 'USD', //Currency of the price that is collected - Type: string | |
| 10 | discount: 0.00, //Any discount associated with this product - Type: number | |
| 11 | - | item_brand: 'Oil and Gas Software', //Product Brand - Type: string |
| 11 | + | item_brand: 'Oil and Gas Software', //Product Brand - Type: string |
| 12 | - | item_category: 'Schlumberger Software', //Product Category - Type: string |
| 12 | + | item_category: 'Schlumberger Software', //Product Category - Type: string |
| 13 | - | item_category2: 'Indonesia', //Product Sub-Category 1 - Type: string |
| 13 | + | item_category2: 'Indonesia', //Product Sub-Category 1 - Type: string |
| 14 | - | item_category3: 'Jakarta', //Product Sub-Category 2 - Type: string |
| 14 | + | item_category3: 'Jakarta', //Product Sub-Category 2 - Type: string |
| 15 | - | item_variant: 'Foundation', //Variant of the product - variant SKU/ID - Type: string |
| 15 | + | item_variant: 'Foundation', //Variant of the product - variant SKU/ID - Type: string |
| 16 | quantity: 1 //Product quantity - Type: number | |
| 17 | }] | |
| 18 | } | |
| 19 | }); |