Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "35003",
"name": "FX 2 disque 3e gén.",
"price": "599.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "35002",
"name": "FX 1 Disc Mid-step 3e gén.",
"price": "499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "40505",
"name": "FX 3 Equipped Mid-step",
"price": "1199.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 3
}
,
{
"id": "40504",
"name": "FX 3 Equipped",
"price": "1199.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "40819",
"name": "FX 3 4e gén.",
"price": "1149.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"id": "40506",
"name": "FX 2 Equipped",
"price": "849.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "40507",
"name": "FX 2 Equipped Mid-step",
"price": "849.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "40815",
"name": "FX 2 4e gén.",
"price": "699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "40816",
"name": "FX 2 Mid-step 4e gén.",
"price": "699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "40813",
"name": "FX 1 4e gén.",
"price": "599.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "2999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "More Options",
"position": 11
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "2299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "More Options",
"position": 12
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "3199.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "2049.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "More Options",
"position": 14
}
,
{
"id": "40822",
"name": "FX Sport 4",
"price": "1799.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "More Options",
"position": 15
}
,
{
"id": "32769",
"name": "FX 1 3e gén.",
"price": "499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 16
}
,
{
"id": "32770",
"name": "FX 1 Mid-step 3e gén.",
"price": "499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "More Options",
"position": 17
}
,
{
"id": "28899",
"name": "FX 3 Equipped Stagger",
"price": "1099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 18
}
,
{
"id": "28898",
"name": "FX 3 Equipped",
"price": "1099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "35055",
"name": "FX 3 Stagger disque 3e gén.",
"price": "949.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "35107",
"name": "FX 3 Disc Equipped",
"price": "949.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_reddark",
"list": "More Options",
"position": 21
}
,
{
"id": "35021",
"name": "FX 3 disque 3e gén.",
"price": "949.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "More Options",
"position": 22
}
,
{
"id": "35139",
"name": "FX 2 Disque Equipped Stagger",
"price": "749.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}