if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33835",
"name": "Ponožky Electra Surfbird",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_greenvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33838",
"name": "Ponožky Electra Tie Dye",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "purple",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33836",
"name": "Ponožky Electra Burger",
"price": "15.29",
"brand": "Electra",
"category": "Cycling socks",
"variant": "tan_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23671",
"name": "Electra UFO 9" Socks",
"price": "11.99",
"brand": "Electra",
"category": "Cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}