if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "32738",
"name": "Trek Velocis Cycling Bib Shorts",
"price": "2900.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32742",
"name": "Trek Circuit Cycling Bib Shorts",
"price": "2000.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32744",
"name": "Trek Circuit Cycling Shorts",
"price": "1800.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34659",
"name": "Trek Solstice Cycling Bib Shorts",
"price": "1800.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32746",
"name": "Trek Solstice Cycling Shorts",
"price": "1750.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41716",
"name": "Santini Trek-Segafredo Men's TDF Replica Cycling Bib Short",
"price": "3000.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"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
}
,
{
"id": "14963",
"name": "Bontrager Circuit Cycling Bib Short",
"price": "2000.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}