if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "12499.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49162",
"name": "Speed Concept SLR 8 AXS",
"price": "9499.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "11999.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "9499.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "8999.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35746",
"name": "Speed Concept TT -runkosarja",
"price": "6799.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35671",
"name": "Speed Concept SLR -runkosarja",
"price": "6299.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22055",
"name": "Speed Concept Rim -runkosarja",
"price": "3999.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}