if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "11999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}