if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "36025",
"name": "Trek Solstice Mips cykelhjälm",
"price": "679.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34589",
"name": "Trek Velocis Mips racerhjälm",
"price": "3399.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37124",
"name": "Trek Ballista Mips racerhjälm",
"price": "3399.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21849",
"name": "Bontrager Quantum Mips cykelhjälm",
"price": "1119.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30467",
"name": "Bontrager Solstice Mips cykelhjälm",
"price": "407.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14896",
"name": "Bontrager Velocis Mips-landsvägshjälm",
"price": "1759.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}