[web] event-tracking: implement sprinkle using the ng attributes GitOrigin-RevId: 5195d827b590ee32e86ba2ffe365ad7cab65750b