Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "34652",
"name": "Camiseta feminina para ciclismo Circuit LTD Trek",
"price": "640.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "More Options",
"position": 1
}
,
{
"id": "34654",
"name": "Camiseta feminina para ciclismo Solstice Trek",
"price": "450.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44124",
"name": "Camiseta de ciclismo feminina, réplica da versão de competição da Equipe Trek-Segafredo fabricada pela Santini",
"price": "629.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_bluelight",
"list": "More Options",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}