if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "41819",
"name": "Electra Loft Go! 7D Crankset",
"price": "180.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35944",
"name": "Electra Townie Go! 7D Gen 2 Crankset",
"price": "170.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41620",
"name": "Electra Cruiser 152mm Chainguide Crankset",
"price": "140.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41619",
"name": "Electra Cruiser 170mm Chainguide Crankset",
"price": "140.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35945",
"name": "Electra Cruiser Go! Crankset",
"price": "120.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29377",
"name": "Zestaw pedałów Electra Grip Tape",
"price": "71.0",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "12666",
"name": "Zestaw pedałów Electra Barefoot",
"price": "62.0",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12669",
"name": "Zestaw pedałów klasycznych Electra Deluxe",
"price": "62.0",
"brand": "Electra",
"category": "Bike pedals",
"variant": "grey_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41769",
"name": "Electra Loft Go! 7D Bottom Bracket Cover",
"price": "44.9",
"brand": "Electra",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37569",
"name": "Hak przerzutki Electra Townie 135 x 12 mm",
"price": "39.9",
"brand": "Electra",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}