if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "34650",
"name": "Trek Circuit LTD Cycling Jersey",
"price": "1500.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34652",
"name": "Trek Circuit Women's LTD Cycling Jersey",
"price": "1500.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48295",
"name": "Trek Men's Elite Jersey",
"price": "1999.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "grey_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48293",
"name": "Trek Men's Race Fit Jersey",
"price": "1499.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "green",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48294",
"name": "Trek Women's Race Fit Jersey",
"price": "1499.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greenlight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48296",
"name": "Trek Women's Sport Fit Jersey",
"price": "1499.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "tan_purplelight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37500",
"name": "Santini Trek-Segafredo Men's Team Race Replica Jersey",
"price": "2500.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41509",
"name": "Santini Trek-Segafredo Men's TDF Replica Cycling Jersey",
"price": "2500.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34846",
"name": "Santini Trek Factory Racing Men's XC Team Replica Cycling Jersey",
"price": "2500.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_bluelight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "14965",
"name": "Bontrager Meraj Women's Cycling Jersey",
"price": "1400.0",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}