if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37083",
"name": "Camiseta técnica Trek Evoke Montaña Mujer",
"price": "23.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44138",
"name": "Maillot de ciclismo réplica Santini Trek Factory Racing Mujer",
"price": "71.99",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40630",
"name": "Maillot de ciclismo Santini réplica de la campeona del mundo del Trek Factory Racing para mujer",
"price": "36.0",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "white_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22797",
"name": "Camiseta técnica de ciclismo Bontrager Evoke Montaña Mujer",
"price": "20.99",
"brand": "Bontrager",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}