Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "40927",
"name": "Wahoo 20 Path",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "More Options",
"position": 1
}
,
{
"id": "26795",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "orange",
"list": "More Options",
"position": 2
}
,
{
"id": "36266",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "More Options",
"position": 3
}
,
{
"id": "41013",
"name": "Wahoo 24 Trail",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "More Options",
"position": 4
}
,
{
"id": "28296",
"name": "Precaliber 20",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"id": "41014",
"name": "Wahoo 20 Trail",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greenvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "36268",
"name": "Precaliber 20 7 velocidades",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "40929",
"name": "Wahoo 26 Path",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 8
}
,
{
"id": "37052",
"name": "Wahoo 20",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "37054",
"name": "Wahoo 24",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 10
}
,
{
"id": "26796",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "More Options",
"position": 11
}
,
{
"id": "36965",
"name": "Precaliber 24 8 velocidades",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "bluedark",
"list": "More Options",
"position": 12
}
,
{
"id": "24065",
"name": "Wahoo 24",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black_greenvisibility",
"list": "More Options",
"position": 13
}
,
{
"id": "28297",
"name": "Precaliber 20",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purpledark",
"list": "More Options",
"position": 14
}
,
{
"id": "36846",
"name": "Precaliber 24 de 8 velocidades y suspensión",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "More Options",
"position": 15
}
,
{
"id": "24066",
"name": "Wahoo 26",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purple",
"list": "More Options",
"position": 16
}
,
{
"id": "36270",
"name": "Precaliber 20",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 17
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 18
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}