if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "28956",
"name": "Electra Sprocket 20" Kids' Wheel",
"price": "39.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}