if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "37985",
"name": "Bontrager Aeolus RSL TLR Road Tyre",
"price": "1800.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite E-bike Tyre",
"price": "700.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25926",
"name": "Bontrager R3 Hard-Case Lite TLR Road Tyre",
"price": "450.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32162",
"name": "Bontrager AW3 Hard-Case Lite Road Tyre",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}