if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "41023",
"name": "Allant+ 6",
"price": "45099.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41025",
"name": "Allant+ 6 Mid-step",
"price": "45099.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41024",
"name": "Allant+ 6 Lowstep",
"price": "45099.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40482",
"name": "Allant+ 5",
"price": "38899.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40484",
"name": "Allant+ 5 Mid-step",
"price": "38899.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40483",
"name": "Allant+ 5 Lowstep",
"price": "38899.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36911",
"name": "Allant+ 5 Lowstep",
"price": "36899.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36913",
"name": "Allant+ 5 Stagger",
"price": "36899.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36916",
"name": "Allant+ 6",
"price": "34999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36919",
"name": "Allant+ 6 Lowstep",
"price": "34999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36923",
"name": "Allant+ 6 Stagger",
"price": "34999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36970",
"name": "Allant+ 5",
"price": "30299.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}