CORS error Google Tag manager

Hello everyone. I’m having a problem with my website. I’ve tried to install Google Tag manager by using the native way to do it, with the container ID, on marketing integrations. By this way, it didn’t worked, so i tried to install using Head and body code at custom code panel.

The problem is that i’m having this cors error.


Anyone knows how to solve it? Thanks for all!