Home>

There is one error, which occurs only at the first access. (No error will occur when reloading.)
I'd like to get rid of this, but I'm in trouble because it doesn't work.

error contents

Refused to connect to'https://www.google-analytics.com/j/collect? ~ ~ Omitted ~ ~'because it violates the following Content Security Policy directive: "default-src'self'". Note that' connect -src' was not explicitly set, so'default-src' is used as a fallback


I tried to put the analytics URL in'connect-src', but it didn't work here.

See below and have added what you need.
https://developers.google.com/tag-manager/web/csp?hl=ja

If i have experience, please post it.