if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "36036",
"name": "Sapatilha para ciclismo de estrada Trek RSL Knit",
"price": "3190.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": "2900.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34133",
"name": "Sapatilha para ciclismo de estrada Velocis Trek",
"price": "1595.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}