Can external sites be tracked via internally hosted PIWIK

Dear All,

I have a very generic question on the usage of PIWIK. I work for a insurance company and our users access a web application which is hosted externally and the application owner wants to track the usage of the application via PIWIK.

My questions are below.-

  1. Can an external application be tracked using the internally hosted PIWIK?
  2. If it can be, then what changes needs to be made in our internal network with regards to Firewalls/Proxy etc?
  3. Are there are any known issues in such a setup?

Hoping one of you could answer this.

Many thanks in advance.

regards
Raghu

Could I request one of you to reply to this please?

You need to make sure the http tracking API endpoint is reachable from outside, something like domain/path-to-your-matomo/piwik.php or domain/path-to-your-matomo/matomo.php.
https://developer.matomo.org/api-reference/tracking-api

If you use the Matomo Tag Manager you probably also need to make the container availabe from the outside:
domain/path-to-your-matomo/js/container_{your_container_code}.js

What exact changes are needed to any firewalls should be figured out by whoever controls those.