if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "44796",
"name": "Trek CHRGtime ladestation",
"price": "799.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34870",
"name": "Being Gary Fisher and the Bicycle Revolution Autobiography",
"price": "335.0",
"brand": "Trek",
"category": "Cycling gifts & fun stuff",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32311",
"name": "Trek Sticker",
"price": "119.0",
"brand": "Trek",
"category": "Cycling gifts & fun stuff",
"variant": "white_red",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}