Arnaud73 / ngx-matomo

Matomo (aka. Piwik) web analytics for Angular applications
MIT License
102 stars 48 forks source link

Choose the trackingUrl #27

Closed SkyLi7h closed 3 years ago

SkyLi7h commented 4 years ago

Add the possibility to use another URL for the tracking (php file)

Arnaud73 commented 4 years ago

Hi @SkyLi7h,

Thanks for contributing to the project!

I read this PR but I do not fully understand the purpose of it: currently, one provides the URL of the server which is used to compute the URL of the script and the tracker. In case the script is being provided on a different URL, I let the user to provide its URL as an optional parameter. As a result, 2 URLs can be provided for 2 resources if necessary.

In which situation would you need another URL for the tracker?

Arnaud73 commented 3 years ago

Sorry for the delay, but I changed the way to specify the tracker script URL and trackers.

Release 1.0.0-RC.0 natively enables this feature, please have a look if this is still a concern to you.