Overview
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": "More Options",
"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": "More Options",
"position": 2
}
,
{
"id": "46161",
"name": "Top Fuel 9.8 XT Gen 4",
"price": "150000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "More Options",
"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": "More Options",
"position": 4
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "75000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "46142",
"name": "Top Fuel 5 Gen 4",
"price": "55000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "More Options",
"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": "More Options",
"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": "More Options",
"position": 8
}
,
{
"id": "41649",
"name": "Top Fuel 9.9 XTR Gen 3",
"price": "200000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 9
}
,
{
"id": "41647",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "150000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 10
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-Type Gen 3",
"price": "130000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "More Options",
"position": 11
}
,
{
"id": "36790",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "115000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 12
}
,
{
"id": "35222",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "90000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 Gen 3",
"price": "85000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 14
}
,
{
"id": "35648",
"name": "Top Fuel C Gen 3 Frame Set",
"price": "70000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "42273",
"name": "Top Fuel C Gen 3 Frame Set",
"price": "70000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "More Options",
"position": 16
}
,
{
"id": "35072",
"name": "Top Fuel 8 Gen 3",
"price": "70000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "More Options",
"position": 17
}
,
{
"id": "35070",
"name": "Top Fuel 7 Gen 3",
"price": "60000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "More Options",
"position": 18
}
,
{
"id": "28318",
"name": "Top Fuel C Gen 2 Frame Set",
"price": "50000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "35649",
"name": "Top Fuel AL Gen 3 Frame Set",
"price": "40000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 20
}
]
}
});
} else {
console.log("dataLayer");
}