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

Allow custom domains #41

Open
RobertAlbus opened this issue Jan 27, 2023 · 0 comments
Open

Allow custom domains #41

RobertAlbus opened this issue Jan 27, 2023 · 0 comments

Comments

@RobertAlbus
Copy link

RobertAlbus commented Jan 27, 2023

BaseGa4mp is hard coded to

        self._base_domain = "https://www.google-analytics.com/mp/collect"
        self._validation_domain = "https://www.google-analytics.com/debug/mp/collect"

but this could be configurable to allow library users to send messages to MP-compatible endpoints

https://www.google-analytics.com could be configurable via ctor or a method, with google analytics being the sensible default.

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