if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "29189",
"name": "Verve+ 2 Stagger Gen 2",
"price": "1974.25",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35025",
"name": "Verve+ 1 Lowstep",
"price": "1783.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33050",
"name": "Verve+ 1 Lowstep DT",
"price": "1783.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33498",
"name": "District 4 Equipped Stagger",
"price": "1588.65",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33496",
"name": "District 3 Equipped Stagger",
"price": "1240.15",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28899",
"name": "FX 3 Equipped Stagger",
"price": "999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33494",
"name": "District 2 Equipped Lowstep",
"price": "840.65",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33527",
"name": "District 1 Equipped Lowstep",
"price": "747.15",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33510",
"name": "Verve 2 Equipped Lowstep",
"price": "730.5",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37000",
"name": "Verve 1 Equipped Lowstep",
"price": "619.65",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35002",
"name": "FX 1 Disc Stagger",
"price": "526.15",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}