if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "40635",
"name": "Trek Range Boost Mounting Kit",
"price": "3199.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33172",
"name": "Bontrager MIK Commuter Trunk Bag",
"price": "749.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33173",
"name": "Bontrager Commuter Single Pannier",
"price": "699.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24465",
"name": "Bontrager City bagageboks",
"price": "679.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33594",
"name": "Bontrager Town Double Pannier",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47140",
"name": "Trek Elite-vandflaskeholder af genbrugsplast",
"price": "129.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22373",
"name": "Bontrager Comp multiværktøj",
"price": "119.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}