if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "30915",
"name": "Domane+ LT Gen 1",
"price": "7899.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}