This is a good idea (even though it's actually not GDPR compliant by default), but I think it would be much more useful if it were a "click here to install AdBlock Origin" button.
Also, who in their right mind would click "enable Google analytics" in opt-in mode?
.. or any kind of privacy-related opt-in, if the opt out is readily available. Currently websites try to work around this by placing a "manage" link with countless options which makes it work to opt out, but that doesn't seem like something that will be allowed for long by the regulators.
Privacy opt ins are effectively donation buttons, and we know how well these work.
Also, who in their right mind would click "enable Google analytics" in opt-in mode?