if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "47270",
"name": "Verve 3 Equipped",
"price": "13499.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47271",
"name": "Verve 3 Equipped Lowstep",
"price": "13499.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40500",
"name": "Verve 3 Equipped",
"price": "13699.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}