if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35227",
"name": "Trek 2021 Powerfly FS Rack & Fender Hardware Kit",
"price": "9.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}