Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "4.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "41411",
"name": "Multi-outils Trek Pro BITS",
"price": "79.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44751",
"name": "Multi-outils Trek Elite BITS",
"price": "49.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14957",
"name": "Outil Bontrager pour clous de pneus Gnarwhal",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}