Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $( document ).ready(function() {
- dataLayer.push({
- 'ecommerce': {
- 'purchase': {
- 'actionField': {
- 'id': 'T'+Math.floor(Math.random() * 1000000001),
- 'affiliation': 'Fantastic from Cart',
- 'revenue': '2896',
- 'tax':'',
- 'shipping': '',
- 'coupon': ''
- },
- 'products': [{
- 'name': 'Монитор 21.5" 1920x1080 ASUS VZ229HE IPS D-Sub HDMI',
- 'id': '159295',
- 'price': '2662',
- 'brand': 'ASUS',
- 'category': 'Мониторы',
- 'variant': '',
- 'quantity': '1',
- 'coupon': ''
- },
- {
- 'name': 'Колонки Portable SVEN PS-45BL',
- 'id': '142781',
- 'price': '234',
- 'brand': 'SVEN',
- 'category': 'Колонки',
- 'variant': '',
- 'quantity': '1',
- 'coupon': ''
- }]
- }
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement