if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "799.93",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "749.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28073",
"name": "Townie 7D EQ Step-Thru",
"price": "599.93",
"brand": "Electra",
"category": "Townie",
"variant": "green",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28070",
"name": "Townie 7D EQ Step-Over",
"price": "599.93",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "17003",
"name": "Loft 7i Step-Thru",
"price": "499.93",
"brand": "Electra",
"category": "Loft",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28079",
"name": "Townie 7D Step-Over",
"price": "499.93",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "28080",
"name": "Townie 7D Step-Thru",
"price": "499.93",
"brand": "Electra",
"category": "Townie",
"variant": "green",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "16810",
"name": "Loft 7D Step-Thru",
"price": "399.93",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "16717",
"name": "Loft 7D Step-Over",
"price": "399.93",
"brand": "Electra",
"category": "Loft",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34872",
"name": "Vale Go! 9D EQ S",
"price": "2599.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "34871",
"name": "Vale Go! 9D EQ",
"price": "2399.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33465",
"name": "Ghostrider Go!",
"price": "1799.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "26947",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "2699.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36841",
"name": "Verve+ 4S Lowstep Gen 2",
"price": "1999.93",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35021",
"name": "FX 3 Disc Gen 3",
"price": "549.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "32732",
"name": "Verve 3 Disc Lowstep Gen 4",
"price": "449.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "purple",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "449.93",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36450",
"name": "Verve 1 Lowstep Gen 4",
"price": "399.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "32734",
"name": "Verve 2 Disc Lowstep Gen 4",
"price": "349.93",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}