if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "36036",
"name": "Sapatilha para ciclismo de estrada Trek RSL Knit",
"price": "3465.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35040",
"name": "Sapatilha para ciclismo de estrada RSL Trek",
"price": "3150.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34133",
"name": "Sapatilha para ciclismo de estrada Velocis Trek",
"price": "2260.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45274",
"name": "Sapatilha para Ciclismo de Estrada Trek Circuit",
"price": "1365.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35041",
"name": "Sapatilha para Mountain Bike Trek RSL Mountain",
"price": "3150.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45272",
"name": "Sapatilha para mountain bike Trek Foray",
"price": "1365.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}