if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "32779",
"name": "Rail 9.9",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35336",
"name": "Rail 9.5 Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35678",
"name": "Rail 9.9 XX1 AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36373",
"name": "Fuel EXe 9.9 XX1 AXS",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37067",
"name": "Rail 9.9 XTR Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36361",
"name": "Fuel EXe 9.5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32782",
"name": "Rail 9.8 XT",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35767",
"name": "E-Caliber 9.8 GX Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35682",
"name": "Rail 9.8 GX Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37066",
"name": "Rail 9.9 XTR Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "34710",
"name": "E-Caliber 9.9 XX1 AXS Gen 1",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35773",
"name": "E-Caliber 9.9 XX1 AXS Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37029",
"name": "Rail 9.8 GX AXS Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}