if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "34130",
"name": "Sapatilha para mountain bike Bontrager Foray",
"price": "1200.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34132",
"name": "Sapatilha para Ciclismo de Estrada Circuit Bontrager",
"price": "1100.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31572",
"name": "Sapatilha para Ciclismo Feminina Multisport Bontrager SSR",
"price": "895.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "bluedark_teal",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}