if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "12689",
"name": "Electra Quick Release Seat Collar",
"price": "19.99",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25889",
"name": "Electra 31.8 mm Seatpost Clamp with Rack Mounts",
"price": "11.99",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12688",
"name": "Electra 28.6 mm Seatpost Clamp with Rack Mounts",
"price": "11.99",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}