if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "36495",
"name": "Unior 1/4" Drive Socket",
"price": "25.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36477",
"name": "Unior Bottom Bracket Facing Guide Wrench",
"price": "25.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37624",
"name": "Unior Bearing Press Protector 30mm",
"price": "20.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37638",
"name": "Unior Pro Chain Tool Ball",
"price": "10.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32920",
"name": "Unior Hex Wrench",
"price": "5.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}