if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "30977",
"name": "Trek Kids' Platform Small Pedal Set",
"price": "232.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "10861",
"name": "Trek Kids Dialed Pedal Set",
"price": "218.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44499",
"name": "VP Components VP-536 Nylon Polymer Bearing Pedal Set",
"price": "202.0",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}