Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "44797",
"name": "Radar e Lanterna Traseiros Trek CarBack",
"price": "1840.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41448",
"name": "Lanterna Traseira Trek Flare RT para Bikes",
"price": "795.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "23999",
"name": "Lanterna traseira de bicicleta Bontrager Flare RT",
"price": "755.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "30763",
"name": "Conjunto de Farol Ion Comp R e Lanterna Flare R City para bicicletas arol Iluminação Bontrager",
"price": "1060.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "14259",
"name": "Jogo de lanternas de bicicleta urbana Bontrager Ion 100 R/Flare R",
"price": "580.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "08923",
"name": "Conjunto de luzes Bontrager Glo/Ember",
"price": "250.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41441",
"name": "Lanterna traseira Trek Flare R City",
"price": "330.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}