if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "28297",
"name": "Precaliber 20",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33491",
"name": "Roscoe 24",
"price": "",
"brand": "Trek",
"category": "Kids' mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "21773",
"name": "Under the Sea 1 16in Girls",
"price": "",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26796",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28128",
"name": "Precaliber 24 8 velocidades",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkdark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37055",
"name": "Wahoo 26",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "24066",
"name": "Wahoo 26",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purple",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}