Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "35061",
"name": "Fita de aro TLR Bontrager",
"price": "540.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "31426",
"name": "Fita para aro pronto para Tubeless Bontrager",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "11669",
"name": "Fita de aro largo de alta pressão Bontrager",
"price": "75.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "14867",
"name": "Fita antifuro para aros de Tubeless Sun Ringle STR",
"price": "420.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "14869",
"name": "Fita de Aro Mulefut Sun Ringle",
"price": "135.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}