if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "45360",
"name": "Trek Handlebar Bag",
"price": "49.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34038",
"name": "Trek Commuter Pro RT Flare RT Bike Light Set",
"price": "209.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41812",
"name": "Trek BellBeats Digital Bike Bell and Speaker",
"price": "124.99",
"brand": "Trek",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33173",
"name": "Bontrager Commuter Single Pannier",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "49717",
"name": "Trek Air Rush Electric Pump",
"price": "99.99",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44958",
"name": "Trek Single Pannier",
"price": "79.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47358",
"name": "Trek Adventure Top Tube Bag",
"price": "54.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33990",
"name": "ORTLIEB Back-Roller High Visibility Pannier",
"price": "175.0",
"brand": "ORTLIEB",
"category": "Bike bags",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "85009",
"name": "Topeak MTX 2.0 TrunkBag EXP",
"price": "127.95",
"brand": "Topeak",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "57626",
"name": "Selle Royal Lookin Stracciatella Relaxed Unisex Saddle",
"price": "74.99",
"brand": "Selle Royal",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "24669",
"name": "Nite Ize Wraptor Smartphone Bar Mount",
"price": "25.99",
"brand": "Nite Ize",
"category": "Phone & tablet accessories",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}