if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "23032",
"name": "Trek Checkpoint Carbon Armor",
"price": "319.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12338",
"name": "Trek 3S Chainkeeper",
"price": "229.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26161",
"name": "Trek Madone/Émonda SLR Chainkeeper",
"price": "119.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37599",
"name": "Trek Checkpoint SL & SLR Gen 2 Chainstay Armor",
"price": "109.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37727",
"name": "Trek Checkpoint SL & SLR Downtube Armor",
"price": "109.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34426",
"name": "Trek Madone 9 Aero Chainkeeper",
"price": "90.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33297",
"name": "Trek Checkpoint SL Chainstay Strike Guard",
"price": "75.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "28423",
"name": "Trek Boone CX Chainstay Armor",
"price": "75.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "10282",
"name": "Trek Carbon Road Frame Chainstay Strike Plate",
"price": "55.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "28332",
"name": "Trek P1 Road Chainstay Protector",
"price": "35.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}