if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35207",
"name": "Cruiser Go! Step-Thru",
"price": "1199.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orangelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35206",
"name": "Cruiser Go! Step-Over",
"price": "1199.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35003",
"name": "FX 2 Disc",
"price": "749.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32769",
"name": "FX 1",
"price": "499.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "16717",
"name": "Loft 7D Step-Over",
"price": "499.99",
"brand": "Electra",
"category": "Loft",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "16810",
"name": "Loft 7D Step-Thru",
"price": "499.99",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32770",
"name": "FX 1 Stagger",
"price": "499.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35030",
"name": "Allant+ 9.9S",
"price": "5499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30266",
"name": "Allant+ 8S Stagger",
"price": "3449.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "30265",
"name": "Allant+ 8S",
"price": "3449.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "31930",
"name": "Allant+ 7S Stagger",
"price": "3099.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "31929",
"name": "Allant+ 7S",
"price": "3099.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "30918",
"name": "Allant+ 7",
"price": "2799.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "30919",
"name": "Allant+ 7 Lowstep",
"price": "2799.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35843",
"name": "FX+ 2 Stagger",
"price": "1999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35842",
"name": "FX+ 2",
"price": "1999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35055",
"name": "FX 3 Disc Stagger",
"price": "999.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35021",
"name": "FX 3 Disc",
"price": "999.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "32733",
"name": "Verve 3 Disc",
"price": "949.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "32732",
"name": "Verve 3 Disc Lowstep",
"price": "949.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "purple",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35004",
"name": "FX 2 Disc Stagger",
"price": "749.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "32734",
"name": "Verve 2 Disc Lowstep",
"price": "699.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35044",
"name": "Dual Sport 2 Gen 4",
"price": "699.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}