if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "35193",
"name": "Fuel EX 9.8 GX AXS Gen 5",
"price": "6299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33073",
"name": "Fuel EX 5 Gen 5",
"price": "2999.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_orangelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40626",
"name": "Fuel EX C Frameset",
"price": "4999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33359",
"name": "Fuel EX C Gen 5 Frameset",
"price": "4619.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30484",
"name": "Fuel EX C Frameset Gen 5",
"price": "3999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24516",
"name": "Fuel EX C Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33066",
"name": "Fuel EX AL Gen 5 Frameset",
"price": "2919.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}