if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "6999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "16999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47117",
"name": "Domane+ SLR 6",
"price": "8999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46775",
"name": "Madone SLR Gen 8 Frameset",
"price": "6849.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46763",
"name": "Checkmate SLR Frameset",
"price": "5499.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47997",
"name": "Boone Disc Frameset",
"price": "3749.99",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greenlight_pink",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "57944",
"name": "Domane SLR 9 AXS Gen 4",
"price": "17499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "58184",
"name": "Domane+ SLR 9",
"price": "16999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "57942",
"name": "Domane SLR 9 Gen 4",
"price": "16999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "56332",
"name": "Speed Concept SLR 7 AXS",
"price": "13759.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "58155",
"name": "Domane+ SLR 7",
"price": "13149.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "58135",
"name": "Madone SLR 7 AXS Gen 8",
"price": "12799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "57915",
"name": "Domane SLR 7 AXS Gen 4",
"price": "12449.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "58668",
"name": "Checkmate SLR 7 AXS",
"price": "11899.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "57892",
"name": "Domane SLR 7 Gen 4",
"price": "11799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "55097",
"name": "Checkpoint SL 7 AXS Gen 3",
"price": "7999.99",
"brand": "Trek",
"category": "Checkpoint",
"variant": "reddark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "57663",
"name": "Madone SL 6 AXS Gen 8",
"price": "7649.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "55098",
"name": "Checkpoint SL 6 AXS Gen 3",
"price": "5199.99",
"brand": "Trek",
"category": "Checkpoint",
"variant": "greendark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "17999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "12599.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "41655",
"name": "Boone 5",
"price": "4499.93",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "18749.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "46151",
"name": "Madone SLR 9 AXS Gen 8",
"price": "18149.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}