if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "37911",
"name": "Trek 2023 Fetch+ 4 Cargo Box Lower Steerer Column Cover",
"price": "45.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44970",
"name": "Trek Battery Dock Cover",
"price": "40.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41685",
"name": "Trek 2023 Fuel EXe Downtube Battery Cover M6 Clip Nut",
"price": "40.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47907",
"name": "Trek Checkpoint SL Gen 3 IsoSpeed Grommet",
"price": "40.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31284",
"name": "Trek Allant+/Diamant Zouma skydd för laddningsport",
"price": "129.0",
"brand": "Trek-Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31272",
"name": "Trek Allant+/Diamant Zouma Supreme+ Range Extender Y-Cable Plug",
"price": "55.0",
"brand": "Trek-Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42023",
"name": "Trek-Diamant FX Headset Top Cover",
"price": "45.0",
"brand": "Trek-Diamant",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}