if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "44421",
"name": "Wahoo TICKR X Heart Rate Monitor",
"price": "79.99",
"brand": "Wahoo",
"category": "Bike computers & GPS",
"variant": "black_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44420",
"name": "Wahoo TICKR Heart Rate Monitor",
"price": "49.99",
"brand": "Wahoo",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44265",
"name": "Garmin HRM Pro Plus Heart Rate Monitor",
"price": "129.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14602",
"name": "Bontrager ANT+/BLE Softstrap Heart Rate Belt",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37455",
"name": "Stages StagesPulse Heart Rate Monitor",
"price": "49.99",
"brand": "Stages Cycling",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "21492",
"name": "Bontrager Softstrap Heart Rate Belt",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}