if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37294",
"name": "Palmilhas de Ciclismo Trek BioDynamic High Arch",
"price": "29.99",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37292",
"name": "Palmilhas de Ciclismo Trek BioDynamic Low Arch",
"price": "29.99",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37293",
"name": "Palmilhas de Ciclismo Trek BioDynamic Mid Arch",
"price": "29.99",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22476",
"name": "Palmilhas Bontrager inForm BioDynamic High Arch",
"price": "20.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13040",
"name": "Palmilhas Bontrager inForm BioDynamic Low Arch",
"price": "20.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}