if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite E-bike Tyre",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}