Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "46151",
"name": "Madone SLR 9 AXS 8e gén.",
"price": "13999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "More Options",
"position": 1
}
,
{
"id": "46707",
"name": "Madone SLR 9 8e gén.",
"price": "13499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "More Options",
"position": 2
}
,
{
"id": "46687",
"name": "Madone SLR 7 8e gén.",
"price": "8999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "More Options",
"position": 3
}
,
{
"id": "46688",
"name": "Madone SLR 7 AXS 8e gén.",
"price": "9499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "More Options",
"position": 4
}
,
{
"id": "37025",
"name": "Madone SLR 7 7e gén.",
"price": "10999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "More Options",
"position": 5
}
,
{
"id": "49168",
"name": "Madone SLR 8 AXS 8e gén.",
"price": "9499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "More Options",
"position": 6
}
,
{
"id": "37417",
"name": "Madone SLR 6 AXS 7e gén.",
"price": "8899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "More Options",
"position": 7
}
,
{
"id": "37307",
"name": "Kit cadre Madone SLR 7e gén.",
"price": "6199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "30191",
"name": "Kit cadre Madone SLR 6e gén. BB90 Rim",
"price": "5999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 9
}
,
{
"id": "33044",
"name": "Kit cadre Madone SLR 6e gén.",
"price": "5399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "More Options",
"position": 10
}
,
{
"id": "46775",
"name": "Kit cadre Madone SLR 8e gén.",
"price": "4999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}