if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "37065",
"name": "Slash 9.9 XTR Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36413",
"name": "Slash 9.9 XX1 AXS Flight Attendant Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37060",
"name": "Slash 9.9 XX1 Flight Attendant Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37058",
"name": "Slash 9.8 GX AXS Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33018",
"name": "Slash 9.9 X01 Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35217",
"name": "Slash 9.8 GX AXS Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35065",
"name": "Slash 7 Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36730",
"name": "Slash 7 Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33575",
"name": "Slash 9.8 GX Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33072",
"name": "Cuadro Slash C Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33071",
"name": "Cuadro Slash AL Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tealdark_bluedark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37961",
"name": "Cuadro Slash AL Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tealdark_bluedark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37960",
"name": "Cuadro Slash C Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35683",
"name": "Cuadro Slash C Gen 5",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}