Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "34651",
"name": "Maillot Trek Circuit",
"price": "129.59",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "34650",
"name": "Maillot Trek Circuit LTD",
"price": "139.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black_white",
"list": "More Options",
"position": 2
}
,
{
"id": "35816",
"name": "Maillot para damas Trek Circuit",
"price": "139.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "More Options",
"position": 3
}
,
{
"id": "34654",
"name": "Maillot para damas Trek Solstice",
"price": "89.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "34653",
"name": "Maillot Trek Solstice",
"price": "89.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"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": "More Options",
"position": 6
}
,
{
"id": "14962",
"name": "Jersey de Ciclismo Bontrager Circuit",
"price": "139.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "14966",
"name": "Jersey de Ciclismo Bontrager Anara para damas",
"price": "129.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}