if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35097",
"name": "Wolf Tooth Handlebar End Plugs",
"price": "2.95",
"brand": "Wolf Tooth Components",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}