if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "55.99",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37506",
"name": "Santini Trek-Segafredo Men's Team Replica Training Windshell Vest",
"price": "67.49",
"brand": "Santini",
"category": "Cycling vests",
"variant": "pink",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}