Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "33802",
"name": "Camiseta Trek Bicycle Co Unisex",
"price": "299.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 1
}
,
{
"id": "47365",
"name": "Camiseta Trek RBHFFG Unissex",
"price": "190.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47364",
"name": "Camiseta Trek Vintage Feminina",
"price": "150.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "pinkdark",
"list": "More Options",
"position": 3
}
,
{
"id": "47363",
"name": "Camiseta Trek Vintage Unissex",
"price": "150.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "pinkdark",
"list": "More Options",
"position": 4
}
,
{
"id": "47362",
"name": "Camiseta Trek Feminina",
"price": "150.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "green",
"list": "More Options",
"position": 5
}
,
{
"id": "47361",
"name": "Camiseta Trek Unissex",
"price": "150.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "green",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}