Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General question: Adding hash #69

Open
karolis-666 opened this issue Feb 28, 2024 · 0 comments
Open

General question: Adding hash #69

karolis-666 opened this issue Feb 28, 2024 · 0 comments

Comments

@karolis-666
Copy link

Hello,

Does anyone encountered issue with adding hashed value?
Didn't found inside docs how to implement it using ReactGA.initialize().

So far did it with JS by finding script in html head and adding additional tags crossorigin and integrity with hash, but then get :

Failed to find a valid digest in the 'integrity' attribute for resource 'https://www.googletagmanager.com/gtag/js?id={MY_MEASSUREMENT)_ID}' with computed SHA-256 integrity {SHA256_CODE}. The resource has been blocked

Read a bit google docs, but nothing particular with hashes. Maybe someone knows solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant