if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "44693",
"name": "e*Thirteen e*spec Race Carbon Crank for TQ",
"price": "1650.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44931",
"name": "e*Thirteen e*spec Plus Aluminum Crankarms for Bosch",
"price": "300.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41243",
"name": "Prowheel EB03 Bosch GEN3 (Mini ISIS) Crank Arm Set",
"price": "79.9",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}