if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "10128",
"name": "SKS 700c Fender Set",
"price": "1322.0",
"brand": "SKS",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37882",
"name": "Trek-Diamant SKS 20" 65mm Fender Stay",
"price": "292.0",
"brand": "SKS",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}