Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "42257",
"name": "Trek RSL Bike Saddle",
"price": "6500.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "32224",
"name": "Bontrager Verse Pro Bike Saddle",
"price": "4650.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "35553",
"name": "Bontrager Verse Short Pro Bike Saddle",
"price": "4650.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "44985",
"name": "Trek Verse Short Elite Saddle",
"price": "2500.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "35552",
"name": "Bontrager Verse Short Elite Bike Saddle",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "32223",
"name": "Bontrager Verse Elite Bike Saddle",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "32222",
"name": "Bontrager Verse Comp Bike Saddle",
"price": "1600.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "35551",
"name": "Bontrager Verse Short Comp Bike Saddle",
"price": "1600.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}