if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "33465",
"name": "Ghostrider Go!",
"price": "2899.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41658",
"name": "Fuel EXe 9.9 XX AXS T-Type",
"price": "13999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41854",
"name": "Rail 9.9 CXR Gen 4",
"price": "13299.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41652",
"name": "Fuel EXe 9.9 X0 AXS T-Type",
"price": "11999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41986",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "11299.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36744",
"name": "Domane+ SLR 9 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41656",
"name": "Fuel EXe 9.8 GX AXS T-Type",
"price": "9999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41666",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "9299.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37028",
"name": "Rail 9.8 XT Gen 4",
"price": "7999.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36701",
"name": "Domane+ SLR 6 Pro",
"price": "7499.97",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37026",
"name": "Rail 9.7 Gen 4",
"price": "6299.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36371",
"name": "Fuel EXe 9.9 XTR",
"price": "10499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36840",
"name": "Verve+ 4S",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36841",
"name": "Verve+ 4S Lowstep",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37080",
"name": "Verve+ 3 Lowstep Gen 2",
"price": "2899.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "30979",
"name": "Verve+ 3 Gen 2",
"price": "2599.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "30980",
"name": "Verve+ 3 Lowstep Gen 2",
"price": "2599.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "28299",
"name": "Verve+ 2 Gen 2",
"price": "2299.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "37069",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "6499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "36998",
"name": "Powerfly FS 4 Gen 3",
"price": "4749.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "36791",
"name": "Rail 5 Gen 3",
"price": "4499.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35036",
"name": "Rail 7 Gen 2",
"price": "4299.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "32759",
"name": "Powerfly FS 4 Gen 2",
"price": "3799.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}