if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "34652",
"name": "Trek Circuit Women's LTD Cycling Jersey",
"price": "1500.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48294",
"name": "Trek Women's Race Fit Jersey",
"price": "1499.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greenlight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48296",
"name": "Trek Women's Sport Fit Jersey",
"price": "1499.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "tan_purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14965",
"name": "Bontrager Meraj Women's Cycling Jersey",
"price": "1400.0",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}