if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "40457",
"name": "Trek Blendr Fendr",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33174",
"name": "Bontrager MIK Commuter Double Pannier",
"price": "154.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22738",
"name": "Bontrager MIK Utility Trunk Bag",
"price": "134.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33172",
"name": "Bontrager MIK Commuter Trunk Bag",
"price": "114.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41674",
"name": "Trek Blendr Saddle Bag",
"price": "59.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37921",
"name": "Trek Fetch+ 4 Rainfly Complete Set",
"price": "349.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37919",
"name": "Trek Fetch+ 4 MaxiCosi/CybexNuna Adapter",
"price": "339.99",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37920",
"name": "Trek Fetch+ 4 Britax/Romer Adapter",
"price": "339.99",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37918",
"name": "Trek Fetch+ 4 Recliner Seat",
"price": "179.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37917",
"name": "Trek Fetch+ 4 Bench",
"price": "129.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "24663",
"name": "Bontrager Blendr Saddle Accessory Mount",
"price": "6.5",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_grey",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}