if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "28592",
"name": "Precaliber 24 8-speed Suspension",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37054",
"name": "Wahoo 24",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41013",
"name": "Wahoo 24 Trail",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33491",
"name": "Roscoe 24",
"price": "",
"brand": "Trek",
"category": "Kids' mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28128",
"name": "Precaliber 24 8-speed",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkdark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28126",
"name": "Precaliber 24 8-speed",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36965",
"name": "Precaliber 24 8-speed",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24065",
"name": "Wahoo 24",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36846",
"name": "Precaliber 24 8-Speed Suspension",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}