You're welcome. I don't have Chrome installed on my machine, so I changed the macro group to Safari to test it. If you haven't changed it back, that would explain why it isn't working in Chrome. Sorry, I should have thought to change it back myself before posting.
It's not entirely clear to me from your post, but if you don't want all 20 or so macros like this to be triggered whenever you switch tabs or windows, even if the If/Then or Assert action will prevent the non-applicable ones from doing anything, another way to go about this is to only use one macro and a Switch/Case action to check the title/URL and run the corresponding actions:
This way, you could either manage all the actions for each site in this macro directly, or you could still make 20 website-specific macros without triggers and use an Execute a Macro action to run the macro you want for each site.