if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "37018",
"name": "Farley 5",
"price": "",
"brand": "Trek",
"category": "Fat bikes",
"variant": "tealdark_greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37023",
"name": "Farley 9 Winter Edition",
"price": "",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37019",
"name": "Farley 7",
"price": "",
"brand": "Trek",
"category": "Fat bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37020",
"name": "Farley 9.6",
"price": "",
"brand": "Trek",
"category": "Fat bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33745",
"name": "Farley C Frame Set",
"price": "",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40735",
"name": "Farley AL Frameset",
"price": "",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33270",
"name": "Farley 5",
"price": "",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark_tealdark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35152",
"name": "Farley 7",
"price": "",
"brand": "Trek",
"category": "Fat bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "24999",
"name": "Farley EX Frameset",
"price": "",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33744",
"name": "Farley AL Frameset",
"price": "",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark_tealdark",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}