if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "22374",
"name": "Bontrager Elite Multi-Tool",
"price": "",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45036",
"name": "Trek Voda 769 ml/26 oz Water Bottle",
"price": "",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32999",
"name": "Bontrager Road Clipless 9 Degree Pedal Cleat Set",
"price": "",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34133",
"name": "Trek Velocis Road Cycling Shoes",
"price": "",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Cycling Glove",
"price": "",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45035",
"name": "Trek Voda Flow 769 ml/26 oz Water Bottle",
"price": "",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}