if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "14963",
"name": "Bontrager Circuit Cycling Bib Short",
"price": "2000.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"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": 2
}
,
{
"id": "37502",
"name": "Santini Trek-Segafredo Men's Team Replica Bib Shorts",
"price": "3000.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44137",
"name": "Santini Trek Factory Racing Men’s Team Replica Bib Shorts",
"price": "3000.0",
"brand": "Santini",
"category": "Mountain bike shorts & bib shorts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34847",
"name": "Santini Trek Factory Racing Men's XC Team Replica Bib Shorts",
"price": "2499.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_bluelight",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
,
{
"id": "13010",
"name": "Bontrager Velocis Cycling Bib Shorts",
"price": "2600.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}