I couldn't see it in the codeblock you posted but you need to register an event to track
https://wowpedia.fandom.com/wiki/MAJ..._LEVEL_CHANGED
This will give you some information on what happened
majorFactionID, newRenownLevel, oldRenownLevel
You can then play your sound and maybe a flashy visual if you want :chuckle: