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

Load script from self hosted origin and further customizations to init #100

Open
lellky opened this issue Mar 20, 2023 · 1 comment
Open

Comments

@lellky
Copy link

lellky commented Mar 20, 2023

Is your feature request related to a problem? Please describe.
We have a server side GTM proxy that filters out sensitive data before being sent to Google.

Describe the solution you'd like
Instead of loading google analytics script from https://www.google-analytics.com/analytics.js I want the possibility to load it from https://www.my-domain.com/analytics.js and in the gtag config I want to set transport_url: 'https://www.my-domain.com/' and first_party_collection: true

Describe alternatives you've considered
Either write my own implementation or fork this otherwise great implementation and build on top of that.

@lellky
Copy link
Author

lellky commented Mar 22, 2023

I opened a PR with the necessary code changes here #101

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