if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "37098",
"name": "Trek Circuit Full-Finger Twin Gel Unisex Cycling Glove",
"price": "800.0",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22823",
"name": "Bontrager Rhythm Mountain Bike Gloves",
"price": "900.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27193",
"name": "Bontrager Quantum Full-finger Cycling Gloves",
"price": "700.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27194",
"name": "Bontrager Quantum Women's Full-finger Cycling Gloves",
"price": "700.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34506",
"name": "Bontrager Circuit Full Finger Twin Gel Cycling Gloves",
"price": "600.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22827",
"name": "Bontrager Evoke Women’s Mountain Bike Gloves",
"price": "550.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22824",
"name": "Bontrager Evoke Mountain Bike Gloves",
"price": "550.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "bluelight",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}