if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41743",
"name": "Trek Circuit Waterproof Winter Cycling Glove",
"price": "64.99",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41744",
"name": "Trek Circuit Windshell Cycling Glove",
"price": "54.99",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41745",
"name": "Trek Circuit Thermal Cycling Glove",
"price": "44.99",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31923",
"name": "100% Ridecamp Mountain Bike Glove",
"price": "24.99",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}