if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "32743",
"name": "Trek Circuit Women's Cycling Bib Shorts",
"price": "1500.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32745",
"name": "Trek Circuit Women's Cycling Shorts",
"price": "1350.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34655",
"name": "Trek Solstice Women's Cycling Bib Shorts",
"price": "1200.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32747",
"name": "Trek Solstice Women's Cycling Shorts",
"price": "850.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13014",
"name": "Bontrager Meraj Women's Cycling Bib Short",
"price": "1500.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24555",
"name": "Bontrager Circuit Women's Cycling Bib Shorts",
"price": "1450.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}