if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "10488",
"name": "Bontrager Race 700c TLR Clincher Road Rim",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "10481",
"name": "Bontrager Mustang Pro 29" TLR Clincher MTB Rim",
"price": "93.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26121",
"name": "Rin Bontrager Affinity TLR Disc 700c",
"price": "55.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}