if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "32443",
"name": "Řídítka Electra Attitude Cruiser",
"price": "34.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36170",
"name": "Electra Vale Sandblasted Handlebar",
"price": "29.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36737",
"name": "Electra Townie Sandblasted Handlebar",
"price": "29.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31774",
"name": "Electra Townie Original Handlebar",
"price": "29.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13994",
"name": "Řídítka Electra Cruiser Mini Ape Hanger",
"price": "23.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "13992",
"name": "Electra Bullhorn Cruiser Handlebar",
"price": "22.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32444",
"name": "Řídítka Electra Café Cruiser",
"price": "22.49",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12765",
"name": "Electra Amsterdam Handlebar",
"price": "22.49",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}