Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47131",
"name": "Domane SL 6 4e gén.",
"price": "4079.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "More Options",
"position": 1
}
,
{
"id": "41348",
"name": "Domane SL 5 Gen 4",
"price": "2719.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "37302",
"name": "Kit cadre Domane SL 4e gén.",
"price": "2879.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "More Options",
"position": 3
}
,
{
"id": "36153",
"name": "Domane SL 7 4e gén.",
"price": "5899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "36152",
"name": "Domane SL 6 AXS 4e gén.",
"price": "4489.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "36746",
"name": "Domane SL 6 Gen 4",
"price": "4079.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "More Options",
"position": 6
}
,
{
"id": "30190",
"name": "Kit cadre Domane SL 2e gén. Rim",
"price": "2339.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "More Options",
"position": 7
}
,
{
"id": "35333",
"name": "Domane SL 7 3e gén.",
"price": "5219.1",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "More Options",
"position": 8
}
,
{
"id": "35298",
"name": "Domane SL 5 3e gén.",
"price": "2999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_bluedark",
"list": "More Options",
"position": 9
}
,
{
"id": "35303",
"name": "Domane SL 6 3e gén.",
"price": "2924.25",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_black",
"list": "More Options",
"position": 10
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "2699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "More Options",
"position": 11
}
,
{
"id": "35073",
"name": "Kit cadre Domane SL Disque 3e gén.",
"price": "2599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}