if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35041",
"name": "Sapato de montanha Trek RSL",
"price": "399.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25343",
"name": "Sapatos de Montanha Bontrager XXX",
"price": "299.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45271",
"name": "Sapato de montanha Trek Cambion",
"price": "279.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45272",
"name": "Sapato de montanha Trek Foray",
"price": "169.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34130",
"name": "Sapato de Montanha Bontrager Foray",
"price": "134.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31577",
"name": "Sapatos de Gravel Bontrager GR2",
"price": "77.5",
"brand": "Bontrager",
"category": "Cyclocross & gravel bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33009",
"name": "Conjunto de Pitões para Biqueira da Bontrager Comp",
"price": "12.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}