Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41236",
"name": "Pernito de Ciclismo Trek com Bloqueador Solar UV",
"price": "265.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "41235",
"name": "Manguito de Ciclismo Trek com Bloqueador Solar UV",
"price": "265.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "25032",
"name": "Aquecedor de perna térmico Bontrager",
"price": "620.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "25030",
"name": "Aquecedor de joelho térmico Bontrager",
"price": "355.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22818",
"name": "Pernito para ciclismo UV Sunstop Bontrager",
"price": "250.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "22817",
"name": "Manguito de ciclismo UV Sunstop Bontrager",
"price": "220.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}