SHOW:
|
|
- or go back to the newest paste.
1 | <script> | |
2 | dataLayer.push({ | |
3 | - | 'event': 'addToCart', |
3 | + | 'event': 'checkout', |
4 | 'ecommerce': { | |
5 | - | 'add': { |
5 | + | 'checkout': { |
6 | 'products': [{ | |
7 | - | 'name': 'Saiba arc metzger wmf2113', |
7 | + | 'name': 'Saiba arc metzger wmf2113', |
8 | - | 'id': 'WM-F 2113', |
8 | + | 'id': 'WM-F 2113', |
9 | - | 'price': '15', |
9 | + | 'price': '15', |
10 | - | 'brand': 'METZGER', |
10 | + | 'brand': 'METZGER', |
11 | - | 'category': 'Suspensie/Arc Spirala', |
11 | + | 'category': 'Suspensie/Arc Spirala', |
12 | - | 'quantity': 1 //The quantity of products added to the cart |
12 | + | 'quantity': 1 //The quantity of product in the cart |
13 | - | }] |
13 | + | }, |
14 | { | |
15 | 'name': 'Saiba arc optimal f85580', | |
16 | 'id': 'F8-5580', | |
17 | 'price': '9', | |
18 | 'brand': 'OPTIMAL', | |
19 | 'category': 'Suspensie/Arc Spirala', | |
20 | 'quantity': 3 //The quantity of product in the cart | |
21 | } | |
22 | ] | |
23 | } | |
24 | } | |
25 | }); | |
26 | </script> |