if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "30767",
"name": "Trek Precaliber 16 Saddle with Integrated Seatpost",
"price": "26.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "30768",
"name": "Trek Precaliber 24 Saddle with Integrated Seatpost",
"price": "26.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30765",
"name": "Trek Precaliber 20 Saddle with Integrated Seatpost",
"price": "26.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30766",
"name": "Trek Precaliber 12 Saddle with Integrated Seatpost",
"price": "26.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "00775",
"name": "Bontrager Kids' Comfort Bike Saddle",
"price": "25.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28771",
"name": "Trek Kickster Kids' Saddle with Handle",
"price": "25.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}