I need to install Matomo behind a corporate firewall with no access to the internet. Would I be able to purchase the premium plugins (just as Funnel, A/B testing, etc) and apply it on my server?
You can always download the premium plugins from https://shop.matomo.org/my-account/downloads/ and then unzip them into the plugins/ directory of Matomo.
If you are interested in automating this, you can use this as inspiration:
Thank you Lukas! Just to confirm, there is no callback to matomo on in the internet to validate the license? Just checking as the matomo server we are installing has no internet access at all (we can copy files in but data is all one way)
This is something only the Premium Plugin team can answer you (they should be notified about this post).
Please check our guide here: HOW DO I CONFIGURE MATOMO ON A SERVER WITHOUT INTERNET?