Hi, I am trying to add Google Analytics to my Discourse forum.
I added the full Google Tag script code after on my theme but it seems like Google cant find it. I also added the GA universal tracking code in my discourse settings. The GA version is set to v4_gtag in Discourse.
Am I missing something? I added ‘unsafe-eval’ to CSP and when trying to add https://www.google-analytics.com it says that content_security_policy_script_src: Value must be either ‘unsafe-eval’ or ‘wasm-unsafe-eval’, or in the form ‘-’ where supported hash algorithms are sha256, sha384 or sha512. Ensure that your input is wrapped in single quotation marks.
What am I missing?