if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "44752",
"name": "Bontrager Vallnord RSL XR TLR MTB Tyre",
"price": "1200.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44575",
"name": "Bontrager Sainte-Anne Pro XR TLR MTB Tyre",
"price": "1000.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13586",
"name": "Bontrager SE4 Team Issue TLR MTB Tyre",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "11866",
"name": "Bontrager XR2 Team Issue TLR MTB Tyre",
"price": "450.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34493",
"name": "Bontrager SE5 Team Issue TLR MTB Tyre",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "13585",
"name": "Bontrager XR4 Team Issue TLR MTB Tyre",
"price": "350.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37781",
"name": "Bontrager XT3 Comp MTB Tire",
"price": "250.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "27917",
"name": "Bontrager XR3 Team Issue TLR MTB Tyre",
"price": "250.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}