if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35116",
"name": "Roscoe 7",
"price": "1159.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "teal_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "1299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35870",
"name": "Quadro Roscoe",
"price": "849.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "1599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28487",
"name": "Roscoe 8",
"price": "1519.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28499",
"name": "Roscoe 7",
"price": "1119.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33192",
"name": "Roscoe 6",
"price": "799.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}