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": "12688",
"name": "Electra 28.6mm Seatpost Clamp with Rack Mounts",
"price": "11.99",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25889",
"name": "Electra 31.8mm Seatpost Clamps w/ Rack Mounts",
"price": "11.99",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}