if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33494",
"name": "District 2 Equipped Lowstep",
"price": "819.2",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33493",
"name": "District 2 Equipped",
"price": "799.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35055",
"name": "FX 3 Disc Stagger Gen 3",
"price": "799.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35021",
"name": "FX 3 Disc Gen 3",
"price": "799.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33526",
"name": "District 1 Equipped",
"price": "699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36823",
"name": "Dual Sport 2 Gen 5",
"price": "699.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35139",
"name": "FX 2 Disc Equipped Stagger",
"price": "649.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35018",
"name": "FX 2 Disc Equipped",
"price": "649.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "599.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35004",
"name": "FX 2 Disc Mid-step Gen 3",
"price": "499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35001",
"name": "FX 1 Disc Gen 3",
"price": "399.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "17476",
"name": "Kickster",
"price": "168.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}