if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "47225",
"name": "Trek BITS-verktygsväska",
"price": "269.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47226",
"name": "Trek BITS-slangväska",
"price": "229.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45082",
"name": "Trek Waterproof Buckled NIP Bag",
"price": "149.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34744",
"name": "Bontrager Rapid Pack Hydro",
"price": "1299.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14798",
"name": "Bontrager Rapid Pack",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "21794",
"name": "Bontrager Pro Flat väska",
"price": "569.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47334",
"name": "Rapha Rainproof Essentials Case vattentätt fodral",
"price": "450.0",
"brand": "Rapha",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}