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