if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "4.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41411",
"name": "Multiferramenta Trek Pro BITS",
"price": "79.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44751",
"name": "Multiferramenta Trek Elite BITS",
"price": "49.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14957",
"name": "Ferramenta de Rebitagem Bontrager Gnarwhal",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42298",
"name": "Kit de remendos para câmara de ar Pirelli SmarTUBE Innertube",
"price": "5.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "yellow",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}