Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "37920",
"name": "Trek Fetch+ 4 Britax/Romer Adapter",
"price": "6100.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37919",
"name": "Trek Fetch+ 4 MaxiCosi/CybexNuna Adapter",
"price": "5700.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36097",
"name": "Trek Fetch+ 2 Rear Pannier Kit",
"price": "3200.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "36099",
"name": "Trek Fetch+ 2 Front Pannier and Rack Kit",
"price": "3200.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "37553",
"name": "Electra Plasket 12 mm Bracket",
"price": "200.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "37552",
"name": "Electra Plasket 32 mm Bracket",
"price": "200.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "37555",
"name": "Electra Plasket 22.2 mm Bracket",
"price": "200.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "37554",
"name": "Electra Plasket 10 mm Bracket",
"price": "200.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "37556",
"name": "Electra Plasket Strap and Pin",
"price": "100.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}