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": "CATEGORY",
"position": 1
}
,
{
"id": "35553",
"name": "Bontrager Verse Short Pro Bike Saddle",
"price": "4650.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32224",
"name": "Bontrager Verse Pro Bike Saddle",
"price": "4650.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35552",
"name": "Bontrager Verse Short Elite Bike Saddle",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32223",
"name": "Bontrager Verse Elite Bike Saddle",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44985",
"name": "Trek Verse Short Elite Saddle",
"price": "2500.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35554",
"name": "Bontrager Verse Short Trail Elite Saddle",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32222",
"name": "Bontrager Verse Comp Bike Saddle",
"price": "1600.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35551",
"name": "Bontrager Verse Short Comp Bike Saddle",
"price": "1600.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}