if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "1599.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40810",
"name": "Verve 2 Lowstep Gen 5",
"price": "1199.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "1179.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41613",
"name": "Marlin 4 Gen 2",
"price": "919.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41670",
"name": "Supercaliber SL 9.6 Gen 2",
"price": "5399.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "2999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "2249.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "2199.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41587",
"name": "Domane AL 2 Gen 4",
"price": "1599.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41728",
"name": "Supercaliber SLR 9.9 X0 AXS Gen 2",
"price": "14299.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41720",
"name": "Supercaliber 9.8 GX AXS Gen 2",
"price": "9999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41721",
"name": "Supercaliber SLR 9.8 XT Gen 2",
"price": "9499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41643",
"name": "Procaliber 9.7",
"price": "6499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}