Skip to content

Instantly share code, notes, and snippets.

@lamnk
Last active August 29, 2015 14:17
Show Gist options
  • Save lamnk/d9083e8583125190e389 to your computer and use it in GitHub Desktop.
Save lamnk/d9083e8583125190e389 to your computer and use it in GitHub Desktop.
DataLayer Criteo Deca
dataLayer = [{
'transactionId': 'DC69014976',
'transactionAffiliation': 'pethouse',
'transactionTotal': 181500,
'transactionTax': 0,
'transactionShipping': 0,
'transactionProducts': [{
'sku': 'JP159',
'name': 'Sữa tắm khô hương Lavender JP159',
'category': '642',
'price': 60500,
'quantity': 1
}, {
'sku': 'BO3098-M',
'name': 'Bát đựng thức ăn cho vật nuôi BOBO BO3098M',
'category': '648',
'price': 88000,
'quantity': 2
}, {
'sku': 'WPY375',
'name': 'Thịt miếng giòn nhỏ cho mèo Wanpy WPY375 25g',
'category': '611',
'price': 33000,
'quantity': 2
}],
'sitetype': 'd',
'orderid': 'DC69014976',
'productid': ['13481', '13499', '13411'],
'dynx_itemid': 'd',
'dynx_pagetype': 'conversion',
'dynx_totalvalue': [67000, 44000, 16500]
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment