if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "48614",
"name": "Powerfly FS+ 4 Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48617",
"name": "Powerfly FS+ 6 Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48618",
"name": "Powerfly FS+ 8 Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48616",
"name": "Powerfly FS+ 4 Equipped Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37006",
"name": "Powerfly FS 7 Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40673",
"name": "Powerfly FS 4 Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "24654",
"name": "Powerfly FS AL 2019 Frameset",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32760",
"name": "Powerfly FS 7 Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36997",
"name": "Powerfly FS 4 Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32757",
"name": "Powerfly FS 4 500 Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36998",
"name": "Powerfly FS 4 Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "32818",
"name": "Powerfly FS 4 625 Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_greydark",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}