if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "44282",
"name": "Trek Fetch+ 4 Rainfly Knob Set",
"price": "",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black_grey",
"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": "41455",
"name": "Trek Fetch+ 4 Child Seat Head Rest",
"price": "",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}