안녕하세요, 디스코urses 포럼에 Google Analytics를 추가하려고 하고 있습니다.
테마의 태그 뒤에 Google Tag 스크립트 코드를 전체적으로 추가했지만, Google에서 이를 인식하지 못하는 것 같습니다. 또한 Discourse 설정에 GA 유니버설 트래킹 코드도 추가했습니다. Discourse의 GA 버전은 v4_gtag로 설정되어 있습니다.
무언가를 놓치고 있는 건가요? CSP에 'unsafe-eval’을 추가하고 https://www.google-analytics.com을 추가하려고 하면 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. 라는 오류 메시지가 표시됩니다.
무엇이 부족한 걸까요?