if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "26796",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28126",
"name": "Precaliber 24 8 velocidades",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37055",
"name": "Wahoo 26",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24066",
"name": "Wahoo 26",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purple",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}