if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "32117",
"name": "Tektro SP-SS20 Speed Sensor Magnet for Centerlock Rotor",
"price": "20.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}