if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "11864",
"name": "Bontrager Speed Concept Water Bottle Cage",
"price": "1200.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13852",
"name": "Bontrager Speed Concept Water Bottle Cage Hardware",
"price": "600.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "38005",
"name": "Trek 2022 Speed Concept SLR Downtube 26oz Water Bottle",
"price": "500.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47106",
"name": "Trek Speed Concept SLR BTA 26oz Water Bottle",
"price": "500.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38006",
"name": "Trek 2022 Speed Concept SLR Downtube Water Bottle Cage",
"price": "300.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41930",
"name": "Trek Speed Concept BTA Mounting Cage",
"price": "100.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33948",
"name": "Wolf Tooth B-RAD Bottle Shift",
"price": "400.0",
"brand": "Wolf Tooth Components",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}