Content Delivery Network (CDN) configuration

Hello guys,

We were advised to use Matomo with a CDN. We will be using the Tag Manager feature only. Once we purchase the CDN, what are the configuration that need to be done on Matomo side?

Matomo is will be hosted on and the cdn on

I should add the to the Trusted Matomo Hostname and that’s it? is there anything to change for the Tag Manager Code? do I have to manually change the web URL every time I copy the tag code? from to

Is there anything else to do on the CDN side? and if you could please advise me with a good CDN provider that works best with Matomo if possible?

Thank you!