if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "41526",
"name": "Fuel EXe 9.7",
"price": "150000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36742",
"name": "Domane+ SLR 9",
"price": "220000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41482",
"name": "Domane+ SLR 7 AXS",
"price": "190000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36711",
"name": "Domane+ SLR 7",
"price": "190000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41571",
"name": "Fuel EXe 9.8",
"price": "180000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36702",
"name": "Domane+ SLR 6 AXS",
"price": "175000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41658",
"name": "Fuel EXe 9.9 XX AXS T-Type",
"price": "255000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41652",
"name": "Fuel EXe 9.9 X0 AXS T-Type",
"price": "245000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41986",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "245000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36744",
"name": "Domane+ SLR 9 AXS",
"price": "230000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36371",
"name": "Fuel EXe 9.9 XTR",
"price": "220000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37028",
"name": "Rail 9.8 XT Gen 4",
"price": "175000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37026",
"name": "Rail 9.7 Gen 4",
"price": "130000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35678",
"name": "Rail 9.9 XX1 AXS Gen 3",
"price": "200000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36740",
"name": "Domane+ SLR 7 AXS",
"price": "190000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36367",
"name": "Fuel EXe 9.8 GX AXS",
"price": "160000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36375",
"name": "Fuel EXe 9.8",
"price": "160000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35680",
"name": "Rail 9.8 GX AXS Gen 3",
"price": "140000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36365",
"name": "Fuel EXe 9.7",
"price": "130000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "36374",
"name": "Fuel EXe 9.5",
"price": "120000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35142",
"name": "E-Caliber 9.6 Gen 2",
"price": "65000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 21
}
]
}
});
} else {
console.log("dataLayer");
}