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": "22823",
"name": "Bontrager Rhythm Mountain Bike Gloves",
"price": "900.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34504",
"name": "Bontrager Velocis Dual Foam Cycling Gloves",
"price": "800.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "27193",
"name": "Bontrager Quantum Full-finger Cycling Gloves",
"price": "700.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34505",
"name": "Bontrager Circuit Twin Gel Cycling Gloves",
"price": "650.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"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": 9
}
,
{
"id": "22824",
"name": "Bontrager Evoke Mountain Bike Gloves",
"price": "550.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "bluelight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "34507",
"name": "Bontrager Solstice Gel Cycling Gloves",
"price": "450.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "24721",
"name": "Bontrager Circuit Windshell Cycling Gloves",
"price": "900.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Gloves",
"price": "650.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}