if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "33418",
"name": "District 4 Equipped",
"price": "1999.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33419",
"name": "District 4 Equipped Stagger",
"price": "1999.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36826",
"name": "Dual Sport 3 5ème génération",
"price": "1239.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35055",
"name": "FX 3 Disc Stagger",
"price": "1129.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35021",
"name": "FX 3 Disque",
"price": "1129.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32733",
"name": "Verve 3 Disque",
"price": "1099.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32732",
"name": "Verve 3 Disque Lowstep",
"price": "1099.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "purple",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36823",
"name": "Dual Sport 2 5ème génération",
"price": "1059.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32734",
"name": "Verve 2 Disque Lowstep",
"price": "909.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32735",
"name": "Verve 2 Disque",
"price": "909.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35044",
"name": "Dual Sport 2 4e gén.",
"price": "899.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36824",
"name": "Dual Sport 1 5ème génération",
"price": "899.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35003",
"name": "FX 2 Disc",
"price": "899.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35004",
"name": "FX 2 Disc Stagger",
"price": "899.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35002",
"name": "FX 1 Disc Stagger",
"price": "769.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35001",
"name": "FX 1 Disque",
"price": "769.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35060",
"name": "Dual Sport 1 4e gén.",
"price": "749.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "32737",
"name": "Verve 1 Disque",
"price": "734.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "32736",
"name": "Verve 1 Disque Lowstep",
"price": "734.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "white",
"list": "CATEGORY",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}