if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "40804",
"name": "District 4 Mid-step",
"price": "21999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40803",
"name": "District 4 Equipped",
"price": "21999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40510",
"name": "District 3 Mid-step",
"price": "16999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40509",
"name": "District 3 Equipped",
"price": "16999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40495",
"name": "District 2 Lowstep",
"price": "12299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40494",
"name": "District 2 Equipped",
"price": "12299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40493",
"name": "District 1 Lowstep",
"price": "10999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40492",
"name": "District 1 Equipped",
"price": "10999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33497",
"name": "District 4 Equipped",
"price": "21699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33498",
"name": "District 4 Equipped Stagger",
"price": "18399.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33496",
"name": "District 3 Equipped Stagger",
"price": "14299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33493",
"name": "District 2 Equipped",
"price": "9699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33494",
"name": "District 2 Equipped Lowstep",
"price": "9039.2",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "33526",
"name": "District 1 Equipped",
"price": "8699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}