Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "47338",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "700.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "40916",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "500.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "32117",
"name": "Tektro SP-SS20 Speed Sensor Magnet for Centerlock Rotor",
"price": "300.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "48305",
"name": "Tektro TR-52 6-Bolt Disc Brake Rotor",
"price": "300.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "42207",
"name": "C-Star RT553 6-Bolt Brake Rotor",
"price": "200.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}