Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41025",
"name": "Allant+ 6 Mid-step",
"price": "3699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "41024",
"name": "Allant+ 6 Lowstep",
"price": "3699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "More Options",
"position": 2
}
,
{
"id": "40482",
"name": "Allant+ 5",
"price": "3199.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "40484",
"name": "Allant+ 5 Mid-step",
"price": "3199.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "40483",
"name": "Allant+ 5 Lowstep",
"price": "3199.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "36911",
"name": "Allant+ 5 Lowstep",
"price": "3149.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "More Options",
"position": 6
}
,
{
"id": "36913",
"name": "Allant+ 5 Stagger",
"price": "3149.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36916",
"name": "Allant+ 6",
"price": "2949.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 8
}
,
{
"id": "36923",
"name": "Allant+ 6 Stagger",
"price": "2949.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "More Options",
"position": 9
}
,
{
"id": "36970",
"name": "Allant+ 5",
"price": "2599.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}