Advancement Detection?

Does anyone know how to detect when a player gets an advancement? Like not a specific advancement, but just any advancement at all.

Continue to help post