if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "46146",
"name": "Top Fuel 9.9 XX AXS Gen 4",
"price": "270000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46145",
"name": "Top Fuel 9.9 X0 AXS Gen 4",
"price": "230000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46161",
"name": "Top Fuel 9.8 XT Gen 4",
"price": "150000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46147",
"name": "Top Fuel 9.8 GX AXS Gen 4",
"price": "125000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "75000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46142",
"name": "Top Fuel 5 Gen 4",
"price": "55000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T-Type Gen 3",
"price": "240000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type Gen 3",
"price": "200000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41649",
"name": "Top Fuel 9.9 XTR Gen 3",
"price": "200000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41647",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "150000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-Type Gen 3",
"price": "105000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "42273",
"name": "Top Fuel C Gen 3 Frame Set",
"price": "70000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35648",
"name": "Top Fuel C Gen 3 Frame Set",
"price": "70000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "28318",
"name": "Top Fuel C Gen 2 Frame Set",
"price": "50000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35649",
"name": "Top Fuel AL Gen 3 Frame Set",
"price": "40000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "24000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}