if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "35952",
"name": "Electra Pinger Bike Bell",
"price": "25.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "gold",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14508",
"name": "Electra Unicorn Ringer Bike Bell",
"price": "25.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14920",
"name": "Electra Doughnut Ringer Bike Bell",
"price": "25.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "brown_pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14986",
"name": "Bontrager/Electra Training Wheel Hardware",
"price": "23.0",
"brand": "Trek-Electra",
"category": "Bike training wheels",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45139",
"name": "e*Thirteen Chainguide for Bosch 52mm to 55mm Chainline Kit",
"price": "17.0",
"brand": "EThirteen",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44822",
"name": "Spanninga Pimento RR 02 Rear Light Reflector",
"price": "13.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44934",
"name": "e*Thirteen e*Spec 1mm Chainline Spacer for Bosch",
"price": "4.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37630",
"name": "Unior Steerer Tube Cutting Guide Bolt",
"price": "2.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}