Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "35019",
"name": "Guidão/Avanço Bontrager RSL MTB",
"price": "3885.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "24153",
"name": "Guidão de carbono para MTB Line Pro 35 Bontrager",
"price": "1195.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "14700",
"name": "Guidão para MTB Kovee Elite 35 Bontrager",
"price": "535.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22469",
"name": "Guidão de carbono para MTB Kovee XXX TLR 35 Bontrager",
"price": "1495.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "24528",
"name": "Guidão para mountain bike Comp 31.8 Bontrager",
"price": "205.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "24154",
"name": "Guidão para MTB Line 35 Bontrager",
"price": "585.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}