This is a dirty and bloaty solution, but is faster than writing my own code for this. The tracking is not enabled unless our user accepts the cookie modal.