if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36701",
"name": "Domane+ SLR 6 Pro",
"price": "6399.97",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47530",
"name": "Checkpoint ALR 3",
"price": "1299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47073",
"name": "Checkpoint SL 7 AXS Gen 3",
"price": "5699.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "gold_greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS Gen 3",
"price": "3999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "3199.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46765",
"name": "Checkpoint SL Gen 3 Frameset",
"price": "2399.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41640",
"name": "Checkpoint ALR 5",
"price": "2499.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "1799.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "purplelight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35668",
"name": "Checkpoint ALR Frameset",
"price": "1299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "42277",
"name": "Checkpoint ALR 5 AXS",
"price": "2899.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "11999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "49169",
"name": "Checkmate SLR 8 AXS",
"price": "8299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "46692",
"name": "Checkmate SLR 7 AXS",
"price": "8299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "46763",
"name": "Checkmate SLR Frameset",
"price": "3999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "41394",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "5199.97",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "41397",
"name": "Checkpoint SL 6 AXS Gen 2",
"price": "3599.97",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "41398",
"name": "Checkpoint SL 5 Gen 2",
"price": "2999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35814",
"name": "Checkpoint ALR 5 Driftless",
"price": "1999.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "1699.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35076",
"name": "Checkpoint SL Frameset Gen 2",
"price": "2399.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35171",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "4999.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35169",
"name": "Checkpoint SL 5 Gen 2",
"price": "2299.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "grey_greydark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35293",
"name": "Checkpoint SLR 6 AXS",
"price": "7999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}