Добрый!
Есть Google Analytics:
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>
Создана конверсия (calc) и создано событие ('event', 'visits', {event_type: 'visits', event_method: 'action').
При загрузке страницы вылазит ошибка:
The FetchEvent for "https://region1.google-analytics.com/g/collect?v=2&tid=G-XXXXXXXXXX>m=45je3210&_p=975959748&cid=550513772.1675685891&ul=en-gb&sr=2560x1440&uaW=1&uaa=x86&uab=64&uafvl=Not_A%2520Brand%3B99.0.0.0%7CGoogle%2520Chrome%3B109.0.5414.119%7CChromium%3B109.0.5414.119&uamb=0&uam=&uap=macOS&uapv=10.13.6&uaw=0&sid=1675685890&sct=1&seg=1&dl=https%3A%2F%2Fwacdis.com%2F&dr=https%3A%2F%2Fwacdis.com%2Fcontacts&dt=Servicios%20profesionales%20de%20dise%C3%B1o%20de%20p%C3%A1ginas%20web&_s=1" resulted in a network error response: an object that was not a Response was passed to respondWith().
и
POST https://region1.google-analytics.com/g/collect?v=2&tid=G-XXXXXXXXXX>m=45je3210&_p=372363578&cid=550513772.1675685891&ul=en-gb&sr=2560x1440&uaW=1&uaa=x86&uab=64&uafvl=Not_A%2520Brand%3B99.0.0.0%7CGoogle%2520Chrome%3B109.0.5414.119%7CChromium%3B109.0.5414.119&uamb=0&uam=&uap=macOS&uapv=10.13.6&uaw=0&sid=1675685890&sct=1&seg=1&dl=https%3A%2F%2Fwacdis.com%2F&dr=https%3A%2F%2Fwacdis.com%2Fcontacts&dt=Servicios%20profesionales%20de%20dise%C3%B1o%20de%20p%C3%A1ginas%20web&_s=1 net::ERR_FAILED
Не получается отправить `gtag('event', 'nav_contacts', {event_category: 'visits', event_action: 'nav_contacts'});`
Не реагирует в DebugView...
Как правильно подключить и отправлять события/конверсии в Google Analytics?