Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "47319",
"name": "Supercaliber SLR 9.9 XX AXS 2ª Geração",
"price": "110000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "41725",
"name": "Supercaliber SLR 9.9 XX AXS 2ª Geração",
"price": "102600.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 2
}
,
{
"id": "41722",
"name": "Supercaliber SLR 9.9 XTR 2ª Geração",
"price": "81000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 3
}
,
{
"id": "47303",
"name": "Supercaliber SLR 9.8 X0 AXS T-Type 2ª Geração",
"price": "76500.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "41720",
"name": "Supercaliber SLR 9.8 GX AXS 2ª Geração",
"price": "63900.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "More Options",
"position": 5
}
,
{
"id": "47302",
"name": "Supercaliber SL 9.7 GX AXS T-Type 2ª Geração",
"price": "51300.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark_purple",
"list": "More Options",
"position": 6
}
,
{
"id": "41670",
"name": "Supercaliber SL 9.6 2ª Geração",
"price": "34200.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 7
}
,
{
"id": "37039",
"name": "Supercaliber 9.8 1ª Geração",
"price": "32000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}