There is a standard that has some recognition and uptake (though needs more) - Global Privacy Control. It’s been adopted by some browsers and publishers, and IIRC is a requirement for CCPA (California Consumer Privacy Act) compliance.
https://globalprivacycontrol.org/