SHOW:
|
|
- or go back to the newest paste.
1 | window.dataLayer = window.dataLayer || []; | |
2 | window.dataLayer.push({ | |
3 | - | 'event': 'eec.addToCart', |
3 | + | 'event': 'eec.removeFromCart', |
4 | 'ecommerce': { | |
5 | 'currencyCode': 'USD', | |
6 | - | 'add': { |
6 | + | 'remove': { |
7 | 'products': [{ | |
8 | 'name': 'REDA ESP - Gas Handler', | |
9 | - | 'id': 'Reda-Esp-Gas-Handler', // SKU of the base product. |
9 | + | 'id': 'Reda-Esp-Gas-Handler', // SKU of the base product. |
10 | - | 'price': '11130.00', |
10 | + | 'price': '11130.00', |
11 | 'brand': 'schlumberger', | |
12 | 'category': 'Production/Electrical-Submersible-Pumps', | |
13 | - | 'variant': 'REDA ESP - Gas Handler 75% GVF', // The product variant. |
13 | + | 'variant': 'REDA ESP - Gas Handler 75% GVF', // The product variant. |
14 | 'quantity': 1, | |
15 | - | 'dimension12': 'sals', // Vendor name. |
15 | + | 'dimension12': 'sals', // Vendor name. |
16 | - | 'dimension13': '102761535' // SKU of the selected product variant. |
16 | + | 'dimension13': '102761535' // SKU of the selected product variant. |
17 | }] | |
18 | } | |
19 | } | |
20 | }); |