Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "36271",
"name": "Precaliber 20 con rueda libre",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "teal",
"list": "More Options",
"position": 1
}
,
{
"id": "36266",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "More Options",
"position": 2
}
,
{
"id": "36268",
"name": "Precaliber 20 7 velocidades",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "36267",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "28592",
"name": "Precaliber 24 de 8 velocidades y suspensión",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "26793",
"name": "Precaliber 12",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 6
}
,
{
"id": "28128",
"name": "Precaliber 24 8 velocidades",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkdark",
"list": "More Options",
"position": 7
}
,
{
"id": "36965",
"name": "Precaliber 24 8 velocidades",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "26796",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "More Options",
"position": 9
}
,
{
"id": "28126",
"name": "Precaliber 24 8 velocidades",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 10
}
,
{
"id": "28296",
"name": "Precaliber 20",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 11
}
,
{
"id": "28297",
"name": "Precaliber 20",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purpledark",
"list": "More Options",
"position": 12
}
,
{
"id": "36846",
"name": "Precaliber 24 de 8 velocidades y suspensión",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "More Options",
"position": 13
}
,
{
"id": "36270",
"name": "Precaliber 20",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 14
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}