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