Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "44893",
"name": "Lunettes de soleil 100% Trek Team Edition S2 HiPER",
"price": "175.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "More Options",
"position": 1
}
,
{
"id": "44891",
"name": "Lunettes de soleil 100% Trek Team Edition Speedcraft HiPER",
"price": "175.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "More Options",
"position": 2
}
,
{
"id": "44894",
"name": "Lunettes de soleil 100% Trek Team Edition Hypercraft HiPER",
"price": "175.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "More Options",
"position": 3
}
,
{
"id": "44892",
"name": "Lunettes de soleil 100% Trek Team Edition S3 HiPER",
"price": "175.0",
"brand": "100%",
"category": "Cycling glasses",
"variant": "blue_red",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}