if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41640",
"name": "Checkpoint ALR 5",
"price": "2499.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "1799.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "1699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41587",
"name": "Domane AL 2 Gen 4",
"price": "1199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "2299.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41395",
"name": "Domane AL 5 Gen 4",
"price": "1999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36145",
"name": "Domane+ AL 5",
"price": "3499.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "42277",
"name": "Checkpoint ALR 5 AXS",
"price": "2899.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35664",
"name": "Crockett Disc Frameset",
"price": "1299.99",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_tealdark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35668",
"name": "Checkpoint ALR Frameset",
"price": "1299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frameset",
"price": "1199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "23613",
"name": "Émonda ALR Frameset",
"price": "1149.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35814",
"name": "Checkpoint ALR 5 Driftless",
"price": "2299.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "1999.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "1799.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "33082",
"name": "Domane AL 3 Gen 3",
"price": "1199.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "1149.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}