if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "37096",
"name": "Trek Velocis Dual Foam Unisex Cycling Glove",
"price": "850.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"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": 2
}
,
{
"id": "37106",
"name": "Trek Evoke Unisex Mountain Bike Glove",
"price": "750.0",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37099",
"name": "Trek Solstice Gel Unisex Cycling Glove",
"price": "650.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34509",
"name": "Bontrager Velocis Women’s Dual Foam Cycling Gloves",
"price": "800.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
,
{
"id": "34510",
"name": "Bontrager Circuit Women’s Twin Gel Cycling Gloves",
"price": "650.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"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": 8
}
,
{
"id": "34513",
"name": "Bontrager Solstice Women’s Gel Cycling Gloves",
"price": "450.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "24724",
"name": "Bontrager Circuit Women's Windshell Cycling Glove",
"price": "900.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Gloves",
"price": "650.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}