Execute a function as a callback once GDPR consent is granted.