Are you trying to have all of those function as conversion mbox events? Could just put a click handler on all of them via client side js and fire off a trackEvent call.
Something like
function fireConversion() {
window.adobe.target.trackEvent({'mbox':'facetClick'})
}
document.querySelectorAll('div.someclass').forEach((d)=> {
d.addEventListener("click", fireConversion);
});