Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T-Type",
"price": "220000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 1
}
,
{
"id": "41649",
"name": "Top Fuel 9.9 XTR",
"price": "205000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 2
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type",
"price": "195000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 3
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-Type",
"price": "145000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "green",
"list": "More Options",
"position": 4
}
,
{
"id": "41647",
"name": "Top Fuel 9.8 XT",
"price": "140000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 5
}
,
{
"id": "36790",
"name": "Top Fuel 9.8 XT",
"price": "115000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 6
}
,
{
"id": "35222",
"name": "Top Fuel 9.8 XT",
"price": "90000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "35178",
"name": "Top Fuel 9.7",
"price": "85000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 8
}
,
{
"id": "35648",
"name": "Top Fuel C Frame Set",
"price": "70000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "28318",
"name": "Top Fuel C Frame Set",
"price": "50000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "35071",
"name": "Top Fuel 5",
"price": "45000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange_black",
"list": "More Options",
"position": 11
}
,
{
"id": "35649",
"name": "Top Fuel AL Frame Set",
"price": "40000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}