Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37596",
"name": "Electra 16" Kids Handlebar",
"price": "25.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "More Options",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}