if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41411",
"name": "Multiherramienta Trek Pro BITS",
"price": "2009.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44751",
"name": "Multiherramienta Trek Elite BITS",
"price": "1249.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24238",
"name": "Bomba de Suelo Bontrager TLR Flash Charger de Bontrager",
"price": "4699.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35061",
"name": "Cinta para rin Bontrager TLR",
"price": "949.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14221",
"name": "Corbata Bontrager TLR",
"price": "339.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "12968",
"name": "Inyector de sellante Bontrager TLR",
"price": "230.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "27290",
"name": "Agente sellante para neumáticos TLR Bontrager",
"price": "119.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31426",
"name": "Corbata Bontrager TLR",
"price": "17.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}