if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "14602",
"name": "Bontrager ANT+/BLE Softstrap Heart Rate Belt",
"price": "39.93",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "67874",
"name": "Garmin HRM 600 Heart Rate Monitor",
"price": "169.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "49294",
"name": "Wahoo TRACKR Heart Rate Monitor",
"price": "99.99",
"brand": "Wahoo",
"category": "Bike computers & GPS",
"variant": "black_white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "78290",
"name": "Garmin HRM 200 Heart Rate Monitor",
"price": "79.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21492",
"name": "Bontrager Softstrap Heart Rate Belt",
"price": "43.98",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}