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