Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "34588",
"name": "Casco Velocis para Bici de Carrera de Trek con Protección Mips",
"price": "5599.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "More Options",
"position": 1
}
,
{
"id": "37123",
"name": "Casco Ballista para Bici de Carrera con Mips de Trek",
"price": "5599.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "More Options",
"position": 2
}
,
{
"id": "40249",
"name": "Casco Trek Circuit Wavecel",
"price": "4299.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "More Options",
"position": 3
}
,
{
"id": "36952",
"name": "Casco Trek para Ciclismo Starvos WaveCel",
"price": "2999.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "36024",
"name": "Casco para Bici Trek Solstice Mips",
"price": "1479.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "25365",
"name": "Casco para Bici de Carrera Bontrager XXX WaveCel",
"price": "3749.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "14897",
"name": "Casco para Bici de Carrera Bontrager Velocis Mips",
"price": "3429.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pinkvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "34591",
"name": "Casco para Bici de Carrera Bontrager Circuit WaveCel",
"price": "3429.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "21848",
"name": "Casco para Bicicleta Bontrager Quantum Mips",
"price": "2479.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "31567",
"name": "Casco para Bicicleta Bontrager Starvos WaveCel",
"price": "1729.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
,
{
"id": "30466",
"name": "Casco para Bicicleta Bontrager Solstice Mips",
"price": "1229.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 11
}
,
{
"id": "30483",
"name": "Casco para Bicicleta Bontrager Solstice",
"price": "749.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}