if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "23611",
"name": "Llanta Bontrager GR2 Team Issue para terracería",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37430",
"name": "Bontrager GR0 Comp Gravel Tire",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26804",
"name": "Llanta Bontrager GR1 Comp para grava",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13561",
"name": "Llanta LT2 Comp híbrida de Bontrager",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}