if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "37303",
"name": "Domane SLR Gen 4 Frame Set",
"price": "75000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "30191",
"name": "Madone SLR Gen 6 BB90 Rim Frame Set",
"price": "70000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30192",
"name": "Domane SLR Gen 2 Rim Frame Set",
"price": "62200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44314",
"name": "Domane RSL Gen 4 Frame set",
"price": "60000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44369",
"name": "Madone SL Disc Gen 7 Frame Set",
"price": "60000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37302",
"name": "Domane SL Gen 4 Frame Set",
"price": "42000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30190",
"name": "Domane SL Gen 2 Rim Frame Set",
"price": "32000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35489",
"name": "Madone SLR 7 Gen 6",
"price": "100000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36959",
"name": "Madone SL 6 Di2 Gen 6",
"price": "95000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35179",
"name": "Madone SL 7 Gen 6",
"price": "90000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "63000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33044",
"name": "Madone SLR Gen 6 Frame Set",
"price": "70000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "29529",
"name": "Madone SL Frame Set",
"price": "65000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "24124",
"name": "Madone SLR Frameset",
"price": "55000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 Frame Set",
"price": "50000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}