if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "33186",
"name": "District+ 9",
"price": "39199.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33187",
"name": "District+ 9 Lowstep",
"price": "39199.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30463",
"name": "Allant+ 7",
"price": "33999.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33108",
"name": "District+ 7",
"price": "33599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35135",
"name": "District+ 8",
"price": "33599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33109",
"name": "District+ 7 Lowstep",
"price": "33599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35134",
"name": "District+ 8 Lowstep",
"price": "33599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35140",
"name": "Verve+ 4 Lowstep",
"price": "33199.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35148",
"name": "Verve+ 4",
"price": "33199.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35136",
"name": "District+ 6 Lowstep 500Wh",
"price": "30399.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33012",
"name": "District+ 6C Lowstep",
"price": "29599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "32900",
"name": "Verve+ 3 Lowstep",
"price": "27599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "32899",
"name": "Verve+ 3",
"price": "27599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "33524",
"name": "District+ 4",
"price": "25599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "33525",
"name": "District+ 4 Lowstep",
"price": "25599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "27981",
"name": "District+ 2",
"price": "24799.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "33494",
"name": "District 2 Equipped Lowstep",
"price": "9039.2",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "33510",
"name": "Verve 2 Equipped Lowstep",
"price": "7649.25",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}