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