if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36036",
"name": "Zapatos de ciclismo Trek RSL Knit Road",
"price": "699.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35040",
"name": "Zapatos de ciclismo Trek RSL Road",
"price": "599.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34133",
"name": "Zapatos de ciclismo Trek Velocis Road",
"price": "419.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}