if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "28146",
"name": "Bontrager 6000 LLB Replacement Hub Bearing",
"price": "120.0",
"brand": "Bontrager",
"category": "Bearings",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27675",
"name": "Trek Rocker Pivot Bushing",
"price": "120.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "yellow",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31951",
"name": "Bontrager Aeolus Disc CeramicSpeed Coated Hub Kit",
"price": "20500.0",
"brand": "CeramicSpeed",
"category": "Bike hubs & hub parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31950",
"name": "Bontrager Aeolus Disc CeramicSpeed Standard Hub Kit",
"price": "13000.0",
"brand": "CeramicSpeed",
"category": "Bike hubs & hub parts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44145",
"name": "FSA MR226 36 x 45 Lower Headset Bearing",
"price": "640.0",
"brand": "Trek-Diamant",
"category": "Bike headsets",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "78704",
"name": "FSA SL 1.5˝ Headset Bearing",
"price": "460.0",
"brand": "FSA",
"category": "Bike headsets",
"variant": "redlight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "28913",
"name": "FSA Oversized Headset Bearing",
"price": "300.0",
"brand": "FSA",
"category": "Bearings",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}