Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40804",
"name": "District 4 Mid-step",
"price": "1629.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40803",
"name": "District 4 Equipped",
"price": "1629.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "40509",
"name": "District 3 Equipped",
"price": "1269.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "40510",
"name": "District 3 Mid-step",
"price": "1269.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "More Options",
"position": 4
}
,
{
"id": "40494",
"name": "District 2 Equipped",
"price": "909.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "40495",
"name": "District 2 Lowstep",
"price": "909.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "40492",
"name": "District 1 Equipped",
"price": "819.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "More Options",
"position": 7
}
,
{
"id": "40493",
"name": "District 1 Lowstep",
"price": "819.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "tan",
"list": "More Options",
"position": 8
}
,
{
"id": "33498",
"name": "District 4 Equipped Stagger",
"price": "1399.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 9
}
,
{
"id": "33496",
"name": "District 3 Equipped Stagger",
"price": "1049.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "33494",
"name": "District 2 Equipped Lowstep",
"price": "735.2",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "More Options",
"position": 11
}
,
{
"id": "33526",
"name": "District 1 Equipped",
"price": "649.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}