if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36036",
"name": "Sapatos de estrada Trek RSL Knit",
"price": "449.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35040",
"name": "Sapatos de estrada Trek RSL",
"price": "399.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34133",
"name": "Sapatos de Estrada Trek Velocis",
"price": "249.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45274",
"name": "Sapatos de Estrada Trek Circuit",
"price": "149.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35041",
"name": "Sapato de montanha Trek RSL",
"price": "399.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45271",
"name": "Sapato de montanha Trek Cambion",
"price": "279.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45272",
"name": "Sapato de montanha Trek Foray",
"price": "169.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}