if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "44752",
"name": "Pneu para MTB Bontrager Vallnord RSL XR TLR",
"price": "735.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44486",
"name": "Pneu para MTB Bontrager Sainte-Anne RSL XR TLR",
"price": "735.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34495",
"name": "Pneu para MTB XR1 Team Issue Bontrager",
"price": "800.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34496",
"name": "Pneu para MTB XR5 Team Issue TLR Bontrager",
"price": "800.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13585",
"name": "Pneu para MTB XR4 Team Issue Bontrager",
"price": "750.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "27917",
"name": "Pneu para MTB XR3 Team Issue Bontrager",
"price": "625.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "11866",
"name": "Pneu para MTB XR2 Team Issue Bontrager",
"price": "600.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}