if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "26061",
"name": "VP Components FP-BC63 Square Taper Fat Bike Bottom Bracket",
"price": "520.0",
"brand": "Electra",
"category": "Bike bottom brackets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41769",
"name": "Electra Loft Go! 7D Bottom Bracket Cover",
"price": "270.0",
"brand": "Electra",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}