if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34512",
"name": "Bontrager Vella Women’s Twin Gel Cycling Gloves",
"price": "16.5",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22174",
"name": "Bontrager Vella Women's Thermal Cycling Glove",
"price": "12.5",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}