if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "36730",
"name": "Slash 7 Gen 5",
"price": "28199.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36347",
"name": "Fuel EX 7 Gen 6",
"price": "27199.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32884",
"name": "Fuel EX 7, Gen 5",
"price": "27074.25",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35070",
"name": "Top Fuel 7 Gen 3",
"price": "24699.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "21999.2",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33073",
"name": "Fuel EX 5 , Gen 5",
"price": "21999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_orangelight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "21099.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "20599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35063",
"name": "Remedy 8",
"price": "20549.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33192",
"name": "Roscoe 6",
"price": "10499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36969",
"name": "Marlin 8, Gen 3",
"price": "9699.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36967",
"name": "Marlin 7, Gen 3",
"price": "7499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "29759",
"name": "Marlin 4, Gen 2",
"price": "4899.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}