Run Scene on track change

I’d like to run a scene when the track changes. If that’s possible, how should I go about it?

The goal would be on track chance. to inspect the name of the currently playing track, and if it contains a word like say, ‘Advertisement’, then send a PlayURI command to the Sonos right away in hopes of minimizing noise polution.