Matches CSS Selector is a very powerful matching option in the trigger settings of GTM. It’s just a bit cumbersome to set up as it’s hard to guess the CSS selector without being able to test it beforehand.
In this quick tip, I’ll show you how you can accomplish it with a few JavaScript commands.