Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "23594",
"name": "Bontrager Boulevard Fluid Bike Saddle",
"price": "169.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "10508",
"name": "Trek Urban Saddles",
"price": "95.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "21589",
"name": "Bontrager Boulevard Bike Saddle",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "28576",
"name": "Electra Vinyl Ergo Bike Saddle",
"price": "192.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "12682",
"name": "Electra Heartchya Cruiser Bike Saddle",
"price": "77.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "32678",
"name": "Electra Water Lily Cruiser Bike Saddle",
"price": "77.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white_yellowvisibility",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}