if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "36267",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36266",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26795",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21773",
"name": "Under the Sea 1 16in Girls",
"price": "",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26796",
"name": "Precaliber 16",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}