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