Created
June 24, 2018 08:46
-
-
Save seonews-ru/973563d4992da1517a82fa87165e6256 to your computer and use it in GitHub Desktop.
Стандартный код электронной торговли для отслеживания покупок
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dataLayer.push ({ | |
'transactionId': '1234', | |
'transactionAffiliation': 'Acme Clothing', | |
'transactionTotal': 38.26, | |
'transactionTax': 1.29, | |
'transactionShipping': 5, | |
'transactionProducts': [{ | |
'sku': 'DD44', | |
'name': 'T-Shirt', | |
'category': 'Apparel', | |
'price': 11.99, | |
'quantity': 1 | |
},{ | |
'sku': 'AA1243544', | |
'name': 'Socks', | |
'category': 'Apparel', | |
'price': 9.99, | |
'quantity': 2 | |
}] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment