if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "44545",
"name": "Pastilhas de Travão de Disco Sinter Composto Endurance",
"price": "29.99",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44543",
"name": "Pastilhas de Travão de Disco Sinter Composto Performance",
"price": "29.99",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44544",
"name": "Pastilhas de Travão de Disco Sinter Composto Race",
"price": "29.99",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "green",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44542",
"name": "Pastilhas de Travão de Disco Sinter Composto Standard",
"price": "14.99",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}