if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "16810",
"name": "Loft 7D Step-Thru",
"price": "499.99",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32770",
"name": "FX 1 Stagger",
"price": "499.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32769",
"name": "FX 1",
"price": "499.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "16717",
"name": "Loft 7D Step-Over",
"price": "499.99",
"brand": "Electra",
"category": "Loft",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35060",
"name": "Dual Sport 1 Gen 4",
"price": "599.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35002",
"name": "FX 1 Disc Stagger",
"price": "599.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35001",
"name": "FX 1 Disc",
"price": "599.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32737",
"name": "Verve 1 Disc",
"price": "599.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32736",
"name": "Verve 1 Disc Lowstep",
"price": "599.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "29186",
"name": "Townie 7D 24 Step-Thru",
"price": "629.99",
"brand": "Electra",
"category": "Townie",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "28079",
"name": "Townie 7D Step-Over",
"price": "629.99",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "28080",
"name": "Townie 7D Step-Thru",
"price": "629.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35044",
"name": "Dual Sport 2 Gen 4",
"price": "699.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "32734",
"name": "Verve 2 Disc Lowstep",
"price": "699.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "32735",
"name": "Verve 2 Disc",
"price": "699.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "28073",
"name": "Townie 7D EQ Step-Thru",
"price": "729.99",
"brand": "Electra",
"category": "Townie",
"variant": "orange",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "28070",
"name": "Townie 7D EQ Step-Over",
"price": "729.99",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "17003",
"name": "Loft 7i Step-Thru",
"price": "749.99",
"brand": "Electra",
"category": "Loft",
"variant": "green",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35003",
"name": "FX 2 Disc",
"price": "749.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "16806",
"name": "Loft 7i Step-Over",
"price": "749.99",
"brand": "Electra",
"category": "Loft",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "749.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35004",
"name": "FX 2 Disc Stagger",
"price": "749.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "26943",
"name": "Townie Path 9D Step-Over",
"price": "779.99",
"brand": "Electra",
"category": "Townie",
"variant": "greendark",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}