https://www.ezyplugins.com/ezyguide/analytics-in-gdpr-js-are-not-working/

Check if CSP is active.

If it active then you need to enter the URL’s in the CSP memo box