if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "69.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41411",
"name": "Trek Pro BITS multiverktyg",
"price": "899.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44751",
"name": "Trek Elite BITS multiverktyg",
"price": "599.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14957",
"name": "Bontrager Gnarwhal Stud Tool",
"price": "149.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42298",
"name": "Pirelli SmarTUBE lagningssats för innerslang",
"price": "69.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "yellow",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}