Google Analytics - GDPR pop up?

I would like to add Google Analytics to my Publish website.
The documention (Set up Google Analytics - Obsidian Help) says
Before you enable Google Analytics, make sure that your local laws and regulations allow you to track your visitors.

I’m in Europe so we have the GDPR thing. So I guess I would have to add some kind of pop up asking for permission? If so, how can I do that in Publish? This is all super new to me.
I don’t know if this is relevant, but I’m using a custom domain, so I would guess I can use a JavaScript that triggers it or something?

If someone can guide me in the right direction, that would be great. Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.