if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "32743",
"name": "Trek Circuit Women's Cycling Bib Shorts",
"price": "3000.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34655",
"name": "Trek Solstice Women's Cycling Bib Shorts",
"price": "1800.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32745",
"name": "Trek Circuit Women's Cycling Shorts",
"price": "1800.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": "1750.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": "3000.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": "2000.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}