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