if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "25257",
"name": "Bontrager Standard 70 Degree Valve Bicycle Tube",
"price": "9.99",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37364",
"name": "Trek Solstice Youth Cycling Jersey",
"price": "9.93",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32748",
"name": "Trek Solstice Youth Cycling Shorts",
"price": "9.93",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33120",
"name": "Bontrager XR Trail Elite MTB Grip Set",
"price": "6.93",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35884",
"name": "Bontrager Elite Recycled Water Bottle Cage",
"price": "4.93",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25255",
"name": "Bontrager Standard Schrader Valve Bicycle Tube",
"price": "4.93",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33100",
"name": "Bontrager XR Trail Comp MTB Grip Set",
"price": "4.93",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36012",
"name": "Electra Plasket Basket",
"price": "25.93",
"brand": "Electra",
"category": "Bike baskets",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}