if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41649",
"name": "Top Fuel 9.9 XTR Gen 3",
"price": "10999.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35326",
"name": "Top Fuel 9.9 XX1 AXS Gen 3",
"price": "10499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type Gen 3",
"price": "10349.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-Type Gen 3",
"price": "8349.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41647",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "7849.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36790",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "6799.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37062",
"name": "Top Fuel 9.8 GX AXS Gen 3",
"price": "6299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41351",
"name": "Top Fuel 8 GX AXS T-Type Gen 3",
"price": "5199.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36789",
"name": "Top Fuel 8 XT Gen 3",
"price": "3999.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35070",
"name": "Top Fuel 7 Gen 3",
"price": "3199.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41378",
"name": "Top Fuel 5 Gen 3",
"price": "2849.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "2799.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}