if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "33213",
"name": "Trek 2020 Powerfly HT Motor Armor Hardware",
"price": "60.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28458",
"name": "Trek 2016 Procaliber SL 29 Carbon Chainstay Strike Guard",
"price": "50.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28435",
"name": "Fisher 2013 Superfly SL 29 Downtube Guard",
"price": "50.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36722",
"name": "Trek 2022 Session 29 Armor Hardware Washer",
"price": "35.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28216",
"name": "Trek 2011 Session Fork Bumper",
"price": "12.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28218",
"name": "Trek 2012 Session Headtube Bumpers",
"price": "12.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "28432",
"name": "Fisher Superfly 29 Downtube Guard",
"price": "99.0",
"brand": "Gary Fisher",
"category": "Bike frame protection",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "28420",
"name": "Fisher Superfly 29 Chainstay Guard",
"price": "99.0",
"brand": "Gary Fisher",
"category": "Bike frame protection",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}