if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "36532",
"name": "Meias refletivas para ciclismo Race Crew da Trek",
"price": "190.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36534",
"name": "Meias para ciclismo Race Crew da Trek",
"price": "175.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35320",
"name": "Meias para ciclismo Race Quarter Bontrager",
"price": "53.0",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}