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