if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "48296",
"name": "Trek Women's Sport Fit Jersey",
"price": "1499.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "tan_purplelight",
"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": "34652",
"name": "Trek Circuit Women's LTD Cycling Jersey",
"price": "750.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}