Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "34651",
"name": "Maillot Trek Circuit",
"price": "2419.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "34650",
"name": "Maillot Trek Circuit LTD",
"price": "2419.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "More Options",
"position": 2
}
,
{
"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": "More Options",
"position": 3
}
,
{
"id": "35815",
"name": "Maillot Trek RSL",
"price": "5499.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34653",
"name": "Maillot Trek Solstice",
"price": "1579.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "14962",
"name": "Jersey de Ciclismo Bontrager Circuit",
"price": "499.0",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "bluedark_black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}