if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41674",
"name": "Trek Blendr Saddle Bag",
"price": "",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37917",
"name": "Trek Fetch+ 4 Bench",
"price": "",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37919",
"name": "Trek Fetch+ 4 MaxiCosi/CybexNuna Adapter",
"price": "",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37920",
"name": "Trek Fetch+ 4 Britax/Romer Adapter",
"price": "",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37918",
"name": "Trek Fetch+ 4 Recliner Seat",
"price": "",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37921",
"name": "Trek Fetch+ 4 Rainfly",
"price": "",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}