if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "34653",
"name": "Maillot Trek Solstice",
"price": "1579.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35815",
"name": "Maillot Trek RSL",
"price": "2749.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34650",
"name": "Maillot Trek Circuit LTD",
"price": "1449.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34651",
"name": "Maillot Trek Circuit",
"price": "2419.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37365",
"name": "Maillot de Ciclismo Térmico de Manga Larga Trek Circuit",
"price": "2999.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}