The opt out cookie is set by the advertiser, not the publisher, and the contents of the cookie have generic text like "OPT OUT".
Not to mention that if there were any hypothetical API calls those could be made asynchronously after closing the modal.
It's purely a dark pattern.
If you did that, users wouldn't be able to see whether their opt out was successful.
Like the sibling poster said, the default should be opt-out.
It's not as if this TrustArc modal is some old product that was repurposed for GDPR. This is all planned and done in bad faith, period. It's a dark pattern.
That seems really wrong.
They'd need to queue those things and process them async later, or find a solution that doesn't need those requests at all.
So as long as you didn't interact with the banner, _every_ page load should take ~60s?
An acceptable option is to pop up a consent form as needed, and set a cookie recording whether user made a consent decision. That can be classified as essential cookie to fulfill a legal obligation.