if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35816",
"name": "Maillot para damas Trek Circuit",
"price": "139.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14966",
"name": "Jersey de Ciclismo Bontrager Anara para damas",
"price": "129.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34654",
"name": "Maillot para damas Trek Solstice",
"price": "89.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}