if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "48461",
"name": "Rail+ 9.9 X0 AXS T-Type 5e gén.",
"price": "14999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48455",
"name": "Rail+ 9.8 GX AXS T-Type 5e gén.",
"price": "12599.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48469",
"name": "Rail+ 9.7 5e gén.",
"price": "10499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48474",
"name": "Rail+ 8 5e gén.",
"price": "8999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48471",
"name": "Rail+ 5 5e gén.",
"price": "7599.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41666",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "9699.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37028",
"name": "Rail 9.8 XT Gen 4",
"price": "8999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37029",
"name": "Rail 9.8 GX AXS Gen 4",
"price": "8299.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41561",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "6899.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37026",
"name": "Rail 9.7 Gen 4",
"price": "5999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36792",
"name": "Rail 7 Gen 3",
"price": "5399.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36791",
"name": "Rail 5 3e gén.",
"price": "4999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}