Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "48043",
"name": "Supercaliber SLR 9.9 Flight Attendant 2ª Geração",
"price": "140000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "47319",
"name": "Supercaliber SLR 9.9 XX AXS 2ª Geração",
"price": "115000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "More Options",
"position": 2
}
,
{
"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": 3
}
,
{
"id": "41728",
"name": "Supercaliber SLR 9.9 X0 AXS 2ª Geração",
"price": "103999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "41722",
"name": "Supercaliber SLR 9.9 XTR 2ª Geração",
"price": "89999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 5
}
,
{
"id": "41720",
"name": "Supercaliber SLR 9.8 GX AXS 2ª Geração",
"price": "70999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "More Options",
"position": 6
}
,
{
"id": "41721",
"name": "Supercaliber SLR 9.8 XT 2ª Geração",
"price": "68999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 7
}
,
{
"id": "41719",
"name": "Supercaliber SL 9.7 AXS 2ª Geração",
"price": "46999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "37039",
"name": "Supercaliber 9.8 1ª Geração",
"price": "40000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "41670",
"name": "Supercaliber SL 9.6 2ª Geração",
"price": "37999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 10
}
,
{
"id": "35151",
"name": "Supercaliber 9.6 1ª Geração",
"price": "18000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}