if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "32735",
"name": "Verve 2 Disc Gen 4",
"price": "699.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35066",
"name": "Marlin 6 Gen 2",
"price": "649.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32737",
"name": "Verve 1 Disc",
"price": "599.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35044",
"name": "Dual Sport 2 Gen 4",
"price": "599.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35002",
"name": "FX 1 Disc Stagger Gen 3",
"price": "599.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35001",
"name": "FX 1 Disc Gen 3",
"price": "599.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "599.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32736",
"name": "Verve 1 Disc Lowstep",
"price": "599.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34587",
"name": "Marlin 5 Gen 2",
"price": "599.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "29759",
"name": "Marlin 4 Gen 2",
"price": "529.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "32770",
"name": "FX 1 Stagger Gen 4",
"price": "499.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "32769",
"name": "FX 1 Gen 4",
"price": "499.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33490",
"name": "Roscoe 20",
"price": "429.99",
"brand": "Trek",
"category": "Kids' mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "28128",
"name": "Precaliber 24 8-speed",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkdark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "24065",
"name": "Wahoo 24",
"price": "379.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}