title: How to deactivate Firebase Analytics in NextJS
body: <p>I need to implement an opt-out solution for Google Analytics in order to comply with gdpr. What's the best way to do it with Firebase SDK? The Firebase docs only seem to explain how to do it for ios and android. Thanks!</p>