if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "35421",
"name": "Electra Townie 7D EQ 24" Wheel",
"price": "3915.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35420",
"name": "Electra Townie 7D EQ 26" Wheel",
"price": "3915.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "pink",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34880",
"name": "Electra 2021 Townie Go! 5i 26" Wheels",
"price": "3132.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "greenlight_greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32967",
"name": "Trek Alex DP23/TX505 700c Wheel",
"price": "2453.0",
"brand": "Trek-Diamant",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35153",
"name": "Electra 2021 Townie 7D 26" Wheels",
"price": "1566.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "pink",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35154",
"name": "Electra 2021 Townie 7D 24" Wheels",
"price": "1566.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "pink",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "06486",
"name": "Sta-Tru 26" QR Single-wall Alloy Cruiser Wheel",
"price": "1262.0",
"brand": "Sta-Tru",
"category": "Bike wheels",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}