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": "CATEGORY",
"position": 1
}
,
{
"id": "35002",
"name": "FX 1 Disc Mid-step 3e gén.",
"price": "499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32770",
"name": "FX 1 Mid-step 3e gén.",
"price": "499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32769",
"name": "FX 1 3e gén.",
"price": "499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35055",
"name": "FX 3 Stagger disque 3e gén.",
"price": "949.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35107",
"name": "FX 3 Disc Equipped",
"price": "949.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35021",
"name": "FX 3 disque 3e gén.",
"price": "949.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35018",
"name": "FX 2 Disc Equipped",
"price": "749.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35139",
"name": "FX 2 Disque Equipped Stagger",
"price": "749.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35004",
"name": "FX 2 Disc Mid-step 3e gén.",
"price": "599.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35001",
"name": "FX 1 disque 3e gén.",
"price": "499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}