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