if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "39366",
"name": "Hyperice Vyper Go Vibrating Fitness Roller",
"price": "149.99",
"brand": "Hyperice",
"category": "Cycling gifts & fun stuff",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35655",
"name": "Hyperice Hypersphere Mini Vibrating Massage Ball",
"price": "99.0",
"brand": "Hyperice",
"category": "Cycling gifts & fun stuff",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}