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": "37038",
"name": "Supercaliber 9.8 XT Gen 1",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35149",
"name": "Supercaliber 9.7 Gen 1",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33353",
"name": "Supercaliber 9.8 XT Gen 1",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33448",
"name": "Supercaliber 9.9 XX1 AXS Gen 1",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33176",
"name": "Supercaliber 9.8 GX Gen 1",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35869",
"name": "Cuadro Supercaliber Gen 1",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44441",
"name": "Cuadro Supercaliber SLR Gen 2",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}