if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "37041",
"name": "Supercaliber 9.9 XX1 AXS Gen 1",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37042",
"name": "Powerfly 4 625w Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37065",
"name": "Slash 9.9 XTR Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37067",
"name": "Rail 9.9 XTR Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35869",
"name": "Cuadro Supercaliber Gen 1",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33072",
"name": "Cuadro Slash C Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35683",
"name": "Cuadro Slash C Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33071",
"name": "Cuadro Slash AL Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tealdark_bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37961",
"name": "Cuadro Slash AL Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tealdark_bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37960",
"name": "Cuadro Slash C Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "26914",
"name": "Cuadro 1120",
"price": "",
"brand": "Trek",
"category": "1120",
"variant": "greydark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33369",
"name": "Cuadro Remedy 27.5 Al",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}