if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41561",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "7999.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36792",
"name": "Rail 7 Gen 3",
"price": "5799.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41986",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "14799.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41666",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "10999.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37028",
"name": "Rail 9.8 XT Gen 4",
"price": "10299.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37026",
"name": "Rail 9.7 Gen 4",
"price": "6499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36791",
"name": "Rail 5 3e gén.",
"price": "5299.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35036",
"name": "Rail 7 2e gén.",
"price": "5299.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35032",
"name": "Rail 5 2e gén.",
"price": "3999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_teal",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35678",
"name": "Rail 9.9 XX1 AXS 3e gén.",
"price": "9499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37029",
"name": "Rail 9.8 GX AXS Gen 4",
"price": "9299.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35676",
"name": "Rail 9.9 XTR 3e gén.",
"price": "8499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35680",
"name": "Rail 9.8 GX AXS 3e gén.",
"price": "7399.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35672",
"name": "Rail 9.8 XT 3e gén.",
"price": "5999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35682",
"name": "Rail 9.8 GX 3e gén.",
"price": "5999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}