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": "45333",
"name": "Réplica da camiseta de corrida feminina da equipe Lidl-Trek Santini",
"price": "850.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}