if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "14245",
"name": "Bontrager Grippytack Handlebar Tape Set",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37297",
"name": "Bontrager Supertack Handlebar Tape Set",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33120",
"name": "Bontrager XR Trail Elite MTB Grip Set",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28485",
"name": "Bontrager Perf Line Handlebar Tape Set",
"price": "15.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14207",
"name": "Bontrager SE Elite Grip Set",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35705",
"name": "Electra Sea Shells Foam Grips",
"price": "11.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}