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": "CATEGORY",
"position": 1
}
,
{
"id": "40929",
"name": "Wahoo 26 Path",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41014",
"name": "Wahoo 20 Trail",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greenvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41013",
"name": "Wahoo 24 Trail",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37055",
"name": "Wahoo 26",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37052",
"name": "Wahoo 20",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37054",
"name": "Wahoo 24",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "24065",
"name": "Wahoo 24",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "24066",
"name": "Wahoo 26",
"price": "",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "purple",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}