If you self host Matomo, you can block the usage of any tag, trigger, or variable through your “config/config.ini.php” file like this:

[TagManager]
disable_tags[] = “CustomImage”
disable_triggers[] = “DataLayer”
disable_variables[] = “DomElement”
disable_variables[] = “Cookie”