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": "12827",
"name": "Electra Replacement Aluminum Seatpost",
"price": "11.99",
"brand": "Lee Chi",
"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
}
,
{
"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": 4
}
,
{
"id": "39361",
"name": "Electra Replacement Steel Seatpost",
"price": "4.99",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}