if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "33477",
"name": "100% Trek Factory Racing Tech Tee",
"price": "49.99",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "grey_bluedark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}