Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "37096",
"name": "Luva de ciclismo unissex Trek Velocis Dual Foam",
"price": "420.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37097",
"name": "Luva Para Ciclismo Unissex Trek Circuit Twin Gel",
"price": "355.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "37099",
"name": "Luva de ciclismo unissex Trek Solstice",
"price": "285.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "34504",
"name": "Luvas para ciclismo de dupla espuma Velocis Bontrager",
"price": "270.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34505",
"name": "Luvas para ciclismo em duplo gel Circuit Bontrager",
"price": "210.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "34510",
"name": "Luvas para ciclismo em duplo gel femininas Circuit Bontrager",
"price": "210.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "34513",
"name": "Luvas para Ciclismo de Gel Femininas Bontrager Solstice",
"price": "149.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "34507",
"name": "Luva para Ciclismo de Gel Bontrager Solstice",
"price": "149.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}