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

HttpRequest for trackerUrl and siteId #88

Open
lousley opened this issue Jul 21, 2022 · 7 comments
Open

HttpRequest for trackerUrl and siteId #88

lousley opened this issue Jul 21, 2022 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@lousley
Copy link

lousley commented Jul 21, 2022

Hi there
I am currently migrating from matomo 0.1.4 to 1.0.1. In my project we get the trackerUrl and the siteId via an HttpRequest. So far i could solve this with the MatomoInjector. How can I integrate this into the forRoot? Is there any idea?

@aicokleinovink
Copy link

I had the same issues with a different matomo package, but I think they do quite the same. See EmmanuelRoux/ngx-matomo-client#31 for more information

@lousley
Copy link
Author

lousley commented Jul 22, 2022

@aicokleinovink: thank you very much for your answer. Unfortunately this does not work for my project. But I am eagerly waiting for the implementation mentioned here: EmmanuelRoux/ngx-matomo-client#54 and would then switch to this repo.

@Arnaud73 Arnaud73 self-assigned this Jul 22, 2022
@Arnaud73 Arnaud73 added the enhancement New feature or request label Jul 22, 2022
@Arnaud73
Copy link
Owner

Hi
Currently, there is no clean solution to your problem with the current version of this module.
However, your request is valid and could have a nice solution within the module.
Let me think about it.

@Arnaud73
Copy link
Owner

Arnaud73 commented Aug 1, 2022

@lousley, I guess you may want to fetch the complete configuration for the module from a distant server, not just the scriptUrl and siteId?

@lousley
Copy link
Author

lousley commented Aug 8, 2022

@Arnaud73 yes that would be nice

@Waterstraal
Copy link

Running into the same issue; please support dynamic configurations :).

For inspiration, you can take a look at the Deferred (asynchronous) configuration that this alternative Matomo library provides: https://github.com/EmmanuelRoux/ngx-matomo#deferred-asynchronous-configuration

@olafvanv
Copy link

olafvanv commented Apr 9, 2024

Is there any progress on this issue?

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

No branches or pull requests

5 participants