Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41411",
"name": "Multi-outils Trek Pro BITS",
"price": "89.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44751",
"name": "Multi-outils Trek Elite BITS",
"price": "55.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "14957",
"name": "Outil Bontrager pour clous de pneus Gnarwhal",
"price": "17.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "42298",
"name": "Kit de réparation de crevaison Pirelli SmarTUBE Innertube",
"price": "7.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "yellow",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}