if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "33000",
"name": "Fuel EX 8 Gen 5",
"price": "29799.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32884",
"name": "Fuel EX 7 Gen 5",
"price": "18974.25",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33073",
"name": "Fuel EX 5 Gen 5",
"price": "14999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_orangelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33359",
"name": "Fuel EX C Frameset Gen 5",
"price": "31299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40626",
"name": "Fuel EX C stelkit",
"price": "29799.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33066",
"name": "Fuel EX AL Frameset Gen 5",
"price": "16399.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30253",
"name": "Fuel EX AL stelkit",
"price": "13999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}