Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "38551",
"name": "Avanço RCS Pro Blendr Trek",
"price": "1000.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "28828",
"name": "Mesa Knock Block para Rhythm Comp Bontrager - sem embalagem",
"price": "355.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "34937",
"name": "Avanço Blendr RSL Bontrager",
"price": "2260.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "36213",
"name": "Avanço pronto para Blendr Kovee Pro 35 Bontrager",
"price": "620.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "23234",
"name": "Avanço Pro Blendr Bontrager",
"price": "475.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "31465",
"name": "Avanço Elite Blendr Bontrager",
"price": "335.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "24160",
"name": "Avanço Blendr Bontrager Comp 31,8 de 7 graus",
"price": "135.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "35132",
"name": "Avanço 35 Bontrager Elite",
"price": "275.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}