if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "10652",
"name": "Trek 16" Kids Training Wheels",
"price": "47.99",
"brand": "Bontrager",
"category": "Bike training wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14986",
"name": "Bontrager/Electra Training Wheel Hardware",
"price": "13.99",
"brand": "",
"category": "Bike training wheels",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}