if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "22442",
"name": "Sun Ringle Mulefut 80 Rims",
"price": "3306.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14839",
"name": "Sun Ringle Duroc 40 Rims",
"price": "3016.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14944",
"name": "Sun Ringle Duroc 50 Rims",
"price": "2865.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24821",
"name": "Sun Ringle Duroc 40 Rims",
"price": "2821.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31494",
"name": "Alex MD35 27.5" Disc MTB Rim",
"price": "1160.0",
"brand": "Alex Global Technology",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}