if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41669",
"name": "Slash 9 GX AXS T-Type 6e gén.",
"price": "6299.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41684",
"name": "Slash 9.8 GX AXS T-Type 6e gén.",
"price": "8999.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37060",
"name": "Slash 9.9 XX1 Flight Attendant 5e gén.",
"price": "9599.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35218",
"name": "Slash 9.9 XX1 AXS 5e gén.",
"price": "7999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36413",
"name": "Slash 9.9 XX1 AXS Flight Attendant 5e gén.",
"price": "7999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37065",
"name": "Slash 9.9 XTR 5e gén.",
"price": "7599.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37058",
"name": "Slash 9.8 GX AXS 5e gén.",
"price": "5399.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36732",
"name": "Slash 9.8 XT 5e gén.",
"price": "5299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35068",
"name": "Slash 9.7 5e gén.",
"price": "4499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35388",
"name": "Slash 9.8 XT 5e gén.",
"price": "4499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36730",
"name": "Slash 7 5e gén.",
"price": "3299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}