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": "1200.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34493",
"name": "Bontrager SE5 Team Issue TLR MTB Tyre",
"price": "1200.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "11866",
"name": "Bontrager XR2 Team Issue TLR MTB Tyre",
"price": "900.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "27917",
"name": "Bontrager XR3 Team Issue TLR MTB Tyre",
"price": "850.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37781",
"name": "Bontrager XT3 Comp MTB Tire",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}