if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "35061",
"name": "Bontrager TLR Rim Tape",
"price": "600.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31426",
"name": "Bontrager TLR Rim Strip",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14221",
"name": "Bontrager TLR Rim Tape",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14867",
"name": "Sun Ringle STR Tubeless Rim Tape",
"price": "300.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14869",
"name": "Sun Ringle Mulefut Rim Strip",
"price": "100.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40481",
"name": "Trek-Diamant Presta Rim Strip",
"price": "100.0",
"brand": "Trek-Diamant",
"category": "Bike rims & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}