Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- dataLayer.push({
- 'event': 'orderCompleted',
- 'ecommerce': {
- 'purchase': {
- 'actionField': {
- 'id': '190704229', //required
- 'affiliation': '',
- 'revenue': '27.80',
- 'tax':'1.99',
- 'shipping': '7.90',
- 'coupon': ''
- },
- 'products': [{
- 'name': 'Erlebnisangebot 2 Flüge', //name or ID requires
- 'id': '12345',
- 'price': '89.00',
- 'brand': 'Windwerk',
- 'quantity': 1,
- 'coupon': 'TESTADW' },
- {
- 'name': 'Video und Foto',
- 'id': '12346',
- 'price': '19.00',
- 'brand': 'Windwerk',
- 'quantity': 1
- },
- {
- 'name': 'versand',
- 'id': '12347',
- 'price': '7.90',
- 'brand': 'Windwerk',
- 'quantity': 1
- }]
- }
- }
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement