if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "41526",
"name": "Fuel EXe 9.7",
"price": "130000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41554",
"name": "Fuel EXe 8 XT",
"price": "110000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41476",
"name": "Fuel EXe 5",
"price": "95000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36742",
"name": "Domane+ SLR 9",
"price": "220000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41482",
"name": "Domane+ SLR 7 AXS",
"price": "190000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36711",
"name": "Domane+ SLR 7",
"price": "190000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41571",
"name": "Fuel EXe 9.8",
"price": "180000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36702",
"name": "Domane+ SLR 6 AXS",
"price": "175000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"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": 9
}
,
{
"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": 10
}
,
{
"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": 11
}
,
{
"id": "36744",
"name": "Domane+ SLR 9 AXS",
"price": "230000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36371",
"name": "Fuel EXe 9.9 XTR",
"price": "220000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37028",
"name": "Rail 9.8 XT Gen 4",
"price": "175000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37026",
"name": "Rail 9.7 Gen 4",
"price": "120000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36740",
"name": "Domane+ SLR 7 AXS",
"price": "190000.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}