Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "46146",
"name": "Top Fuel 9.9 XX AXS 4ª Geração",
"price": "105000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 1
}
,
{
"id": "46145",
"name": "Top Fuel 9.9 X0 AXS 4ª Geração",
"price": "85000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 2
}
,
{
"id": "46147",
"name": "Top Fuel 9.8 GX AXS 4ª Geração",
"price": "65000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "46161",
"name": "Top Fuel 9.8 XT 4ª Geração",
"price": "55000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 4
}
,
{
"id": "46142",
"name": "Top Fuel 5 4ª Geração",
"price": "24500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 3ª Geração",
"price": "19500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "36789",
"name": "Top Fuel 8 3ª Geração",
"price": "19000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "More Options",
"position": 7
}
,
{
"id": "35648",
"name": "Quadro de Carbono Top Fuel e Suspensão Traseira Gen 3",
"price": "15629.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35070",
"name": "Top Fuel 7 3ª Geração",
"price": "15000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35071",
"name": "Top Fuel 5 3ª Geração",
"price": "13000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}