if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "45332",
"name": "Licras con Tirantes Réplica del Equipo de Carreras Santini Lidl-Trek",
"price": "229.99",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45331",
"name": "Camiseta Santini Réplica del Equipo de Carreras Lidl-Trek",
"price": "184.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}