Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "34651",
"name": "Camiseta para ciclismo Circuit Trek",
"price": "670.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "34650",
"name": "Camiseta para ciclismo Circuit LTD Trek ",
"price": "670.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "More Options",
"position": 2
}
,
{
"id": "34653",
"name": "Camiseta para ciclismo Solstice Trek",
"price": "450.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "45331",
"name": "Réplica da camiseta de ciclismo da Lidl-Trek Santini",
"price": "825.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}