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": "48621",
"name": "Powerfly+ 6 Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48620",
"name": "Powerfly+ 4 Equipped Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "57290",
"name": "FX 3 Stepover Gen 4",
"price": "",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48619",
"name": "Powerfly+ 4 Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_greenvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48016",
"name": "FX+ 7",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "48017",
"name": "FX+ 7 Midstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}