if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "27290",
"name": "Bontrager TLR Tyre Sealant",
"price": "600.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44292",
"name": "Bontrager Tapered Base TLR Valve Stem",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29226",
"name": "Bontrager Presta Valve Extenders",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27395",
"name": "Bontrager Round Base TLR Valve Stem",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12968",
"name": "Bontrager TLR Sealant Injector",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "13521",
"name": "Bontrager Rectangular Base TLR Valve Stem",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41411",
"name": "Trek Pro BITS Multi-Tool",
"price": "1300.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44751",
"name": "Trek Elite BITS Multi-Tool",
"price": "1000.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "14868",
"name": "Sun Ringle STR Tubeless Presta Valves",
"price": "200.0",
"brand": "Sun Ringle",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}