if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "48454",
"name": "Rail+ 9.9 XX AXS T-Type 5e gén.",
"price": "12999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48472",
"name": "Rail+ 9.9 X0 AXS T-Type 5e gén.",
"price": "11999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48452",
"name": "Rail+ 9.8 XT 5e gén.",
"price": "8499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48465",
"name": "Rail+ 9.8 GX AXS T-Type 5e gén.",
"price": "8499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41527",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "6149.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41579",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "10540.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41662",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "8340.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37027",
"name": "Rail 9.8 XT Gen 4",
"price": "7740.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37030",
"name": "Rail 9.9 XX1 AXS Gen 4",
"price": "12740.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37066",
"name": "Rail 9.9 XTR Gen 4",
"price": "11240.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}