Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41021",
"name": "Allant+ 7 Lowstep 2e gén.",
"price": "4059.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "41029",
"name": "Allant+ 7 2e gén.",
"price": "4059.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 2
}
,
{
"id": "41022",
"name": "Allant+ 7 Mid-step 2e gén.",
"price": "4059.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "37603",
"name": "Allant+ 9 Lowstep",
"price": "5059.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "36933",
"name": "Allant+ 7 Stagger",
"price": "3249.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "More Options",
"position": 5
}
,
{
"id": "36931",
"name": "Allant+ 7",
"price": "3249.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}