Best product and web analytics tools for air-gapped networks: which fit
Matomo and PostHog can both be candidates for a team with no outbound internet access, but neither has an official offline install guide, so both need a lab test and written vendor confirmation before anyone commits. Matomo has a documented on-premise install under GPLv3 but no official air-gapped guide, while PostHog's self-host is officially unsupported and has no documented offline install. Start with an isolated lab that mirrors your network rules: no general DNS egress, no package mirror beyond what you approve, and no third-party scripts. Log every outbound connection attempt during install and upgrade. A failed connection during setup is the first sign of a dependency you did not plan for, and it is cheaper to find that in the lab than after go-live.
For Matomo, the offline questions are concrete. Matomo On-Premise requires a geolocation database such as GeoIP2 or DB-IP to be installed manually and updated regularly, so your update process must carry that file across the boundary through an approved transfer path. The Tracking Spam Prevention feature needs the instance to reach the internet to download and refresh its list of cloud provider IP addresses, so decide whether to disable it or maintain that list yourself, and confirm the choice with Matomo. Check the version you plan to deploy. Matomo 5.14.1 was the latest stable release on October 4, 2026, and Matomo 6.0.0 needs PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer. Ask Matomo in writing whether an offline installation is supported for your chosen version.
For PostHog, the first check is licensing, before installation. The repository is under the MIT Expat license except for the ee/ directory, which is covered by a separate license in ee/LICENSE. The README states that premium features from ee/ on a self-hosted instance require a PostHog license, so ee/ should not be treated as open source under the OSI definition, and legal review should treat it as a commercial component. Teams that need fully free software can look at posthog-foss, which the README describes as purged of proprietary code and features. PostHog also describes self-hosting as running your own infrastructure, managing deployments and handling scaling yourself, so plan that operating effort. Ask PostHog whether any offline deployment path exists, and what it requires, before you rely on the self-host documentation.
Which product and web analytics tools for air-gapped networks need a connection
This table compares the two product analytics tools that can be installed on your own servers, PostHog and Matomo, against the parts of each that still depend on a network connection or a paid license. Read each row as a separate component, because the core software, premium modules and data updates can have different terms. The main takeaway is that neither product is documented for a fully air-gapped install, so confirm each item in your own environment before you commit.
| Option | License | Fits the constraint as documented | What still needs a connection or vendor service |
|---|---|---|---|
| PostHog core | MIT Expat, outside the ee/ directory | Documented Docker Compose self-host, but self-hosting is officially unsupported | No air-gapped install documented as of December 2026. You manage deployments and scaling yourself. |
| PostHog ee/ features | Separate license in ee/LICENSE | Premium features need a PostHog license; posthog-foss is the fully free alternative | A PostHog license for premium features. Confirm whether license activation requires a connection. |
| Matomo On-Premise | GNU GPLv3 | Installs on your own servers, but no official air-gapped installation guide was found | Confirm that installation and upgrade steps work without internet access in your environment. |
| Matomo geolocation and spam data | Set by the database provider you choose, such as GeoIP2 or DB-IP | Geolocation database must be installed manually and updated regularly by hand | The cloud provider IP list for spam prevention needs internet access to download and update. |
What an air-gapped network asks of an analytics tool
A network with no outbound internet access turns every dependency into a transfer item. Each container image, operating system package, language runtime, database engine and dataset has to arrive through an approved path, be verified against the publisher's checksum where one is published, and be recorded so the next upgrade repeats the same steps. For Matomo On-Premise, that list includes PHP, MySQL or MariaDB, and a geolocation database such as GeoIP2 or DB-IP, which Matomo requires you to install manually and which should be refreshed regularly. A stale geolocation file can degrade location accuracy without raising an error, so the refresh schedule matters as much as the first install. For PostHog's Docker Compose deployment, list every image tag and each service it pulls. Ask who owns each refresh and how old a file may get before it is no longer acceptable.
Any feature that calls out at runtime must be found, disabled, or fed from a local source before go-live. Matomo's Tracking Spam Prevention needs internet access to download and update its list of cloud provider IP addresses, so an enclave instance either turns that feature off or uses a list your team supplies through the transfer path, after you confirm the feature can read it. Check location updates, any plugin or marketplace lookups your build includes, update notices, and error or usage reporting toggles in the admin settings the same way. PostHog's premium features in the ee directory also need a PostHog license on a self-hosted instance, so confirm whether license validation needs a connection before you enable them. Record each feature as disabled, fed locally, or accepted, with a named owner.
Do not assume an outbound call is absent because the documentation is silent. PostHog's self-host documentation does not describe an air-gapped or offline installation as of December 2026, and neither vendor's public self-hosting material gives an installation procedure you can audit against. Confirm each outbound call in your own environment. Deny egress at the enclave boundary, then run the install, first login, a day of normal tracking traffic and one upgrade while logging DNS queries and firewall denials. Every denied destination becomes a finding with an owner and one of three decisions: fix it, feed it locally, or accept it in writing. Ask the vendor to list, in writing, each destination every component contacts.
The four dependencies that decide the fit for PostHog and Matomo
PostHog and Matomo can both run on infrastructure you control, but each has one dependency that decides whether it fits a disconnected or tightly controlled network. The cards cover license terms, outside downloads and manual steps, and the condition under which each one applies to your team.
PostHog core self-host under MIT
PostHog's self-host documentation describes a free Docker Compose deployment under the MIT license, and the repository is MIT Expat licensed outside the ee/ directory. This is the route that matters if your team wants the core product on hosts you control. The same documentation says self-hosted deployments are officially unsupported, and that you manage deployments and scaling yourself. The self-host overview does not document an air-gapped or offline installation as of December 2026, so confirm image sourcing and any outbound calls with PostHog before you commit.
PostHog ee directory license
The ee/ directory holds premium features under a separate license in ee/LICENSE, and that license is not OSI open source. The README states that using those features on a self-hosted instance requires a PostHog license. This matters if a feature your team needs sits in that directory, or if procurement requires every component to be open source. For fully free software, PostHog points to the posthog-foss repository, which is purged of all proprietary code and features. Map each required feature to its location in the repository, and ask PostHog to confirm license terms before you design around it.
Matomo on-premise geolocation database
Matomo's GitHub repository is licensed under GPLv3, and Matomo On-Premise is the route for networks that cannot send analytics to a hosted service. Matomo's troubleshooting FAQ says On-Premise requires manual installation of a geolocation database such as GeoIP2 or DB-IP, and that the database should be updated regularly. This matters if you report visitor location. Decide who transfers the database into the network, how often it is refreshed, and how each update is verified. The database license is separate from Matomo's GPLv3, so confirm its terms with the provider.
Matomo location FAQMatomo spam prevention needs internet
Matomo's Tracking Spam Prevention feature needs the instance to have internet access to download and update its list of cloud provider IP addresses. This matters if you plan to filter bot and spam traffic and your network blocks outbound requests from the Matomo server. A list that is not refreshed can go stale, so decide who refreshes it and how often. Confirm with Matomo whether an internally hosted copy of that list is supported before you rely on it, and test the feature in a staging network that matches production egress rules.
Matomo spam prevention FAQRunning product and web analytics tools for air-gapped networks, option by option
PostHog's core repository is MIT licensed, and its self-host documentation describes a free Docker Compose deployment. The same documentation states that self-hosted deployments are officially unsupported and that running your own infrastructure means you manage deployments and handle scaling yourself. The documentation also does not describe an air-gapped or offline installation as of December 2026, so the offline path has to be designed and tested by your team, with DeployOpen if you engage us, before the first transfer.
- Support model: Official support is not offered for self-hosted installs, so upgrade problems, scaling decisions and incident response fall to your platform team or a services partner. Name the person who carries the pager for the stack before you commit to it. See the PostHog self-host documentation for the ownership model.
- Image list and update path: Before an offline install, confirm every container image, its tag and the upgrade sequence between releases. Mirror those images into your internal registry and rehearse one full update in a staging network.
- Licensing split: Content in the
ee/directory falls under a separate license, and the README says premium features from that directory on a self-hosted instance require a PostHog license. Map each product module you plan to enable, such as product analytics, web analytics, session replay or error tracking, against that split. - Fully free option: The posthog-foss repository is described as purged of all proprietary code and features. Teams with a strict open-source requirement should evaluate it and confirm its feature set and update cadence before relying on it.
- Monitoring: Confirm with PostHog which health endpoints and logs the deployment exposes, then build your own uptime, storage and ingestion checks.
Before scoping, confirm the image list, the update path, the license coverage for each enabled module and the team that owns scaling and incident response.
Matomo's GitHub repository is licensed under GPLv3, and its documented requirements are PHP and a relational database behind a web server, which most platform teams already operate. The requirements differ by line. Matomo 6.0.0 is in beta, with the beta listed as active since September 9, 2026, and it needs PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer. The 5.x line runs on PHP 8 with MySQL 5.5 or later or MariaDB, behind a web server such as Apache, Nginx, IIS or LiteSpeed. The latest stable release is 5.14.1, released October 4, 2026.
- Version choice: A beta line in production is a risk decision. For a stable baseline, plan on 5.14.1 unless your security team has reviewed 6.0.0 and accepts its beta status.
- Runtime requirements: Match PHP and database versions to the chosen line before the offline transfer, and stage the installers for each in the same approved package.
- Web server choice: Pick one of the named web servers that your existing hardening baseline already covers, and confirm that its configuration is part of the transferred package.
- Geolocation refresh: Matomo On-Premise requires a manually installed geolocation database such as GeoIP2 or DB-IP, and the Matomo location detection guide says it should be updated regularly. Offline, that means a controlled import: obtain the file through an approved channel, verify its integrity, load it, and record the date in your change log. Confirm the database vendor's license terms and refresh cadence.
- Spam prevention limits: The Tracking Spam Prevention FAQ states that the instance must reach the internet to update its list of cloud provider IP addresses. Either disable that feature or set up a manual, approved update channel, and test how the instance behaves without access.
Matomo does not publish an official guide for air-gapped installs, so write and test the offline procedure yourself and ask Matomo to confirm any step you cannot verify in your environment.
Both products need the same decisions made before media enters the network: which versions to pin, which packages and images to transfer, who applies updates and how the team sees the stack's health. Use this tab as the input for a written plan, and record each answer so the change board can review it.
- Version pinning: Record the exact release for each product, such as Matomo 5.14.1 for a stable baseline, and the PostHog release you intend to run. Confirm the upgrade path from that release to the next one before the first install.
- Transfer process: Define how images, packages, PHP and database installers and geolocation files enter the network, who approves each item, and how hashes are checked on arrival.
- Update cadence and rollback: Decide who applies updates, how often they are applied, and how a rollback works if a release breaks ingestion or tracking in your environment.
- Licensing review: Get written confirmation of the license coverage for every module you enable. For PostHog, that includes the
ee/split. For Matomo, ask counsel what the GPLv3 license means for any code changes you distribute internally. - Monitoring and ownership: Name the team that watches uptime, storage growth and data collection errors. For PostHog self-hosting, that team is yours by design, because official support is not offered for self-hosted installs.
Ask the vendor or your environment owner to confirm each item in writing before the offline install is scheduled.
How updates and artifacts move into the restricted network
This illustrative diagram traces a one-way path that starts with vendor release channels outside the network. Release files pass through an approved transfer step under your media or transfer policy, then land in an internal mirror or registry before the analytics host pulls its packages. The geolocation database and any IP list follow a separate scheduled path, because Matomo On-Premise requires a manual install of a geolocation database such as GeoIP2 or DB-IP, which should be updated regularly. Confirm each arrow marked with the vendor or your security team, including how packages and database files are verified on entry.
Illustrative one-way path for updates and geolocation files into a restricted network.
How to test an analytics candidate with egress blocked before you commit
This sequence tests whether an analytics candidate can be installed, loaded and operated with outbound traffic blocked, before a purchase or build decision. Each step ends in a written note, so the result is documented evidence of what breaks offline and who has to fix it.
Isolate the test network from outbound traffic
The network team builds a lab segment with default-deny egress, so hosts there can reach only the internal services the test needs. The security team checks the firewall rule export and confirms that a test connection to an external address fails. The written note lists the rule set, the allowed internal destinations and the test result, which becomes the baseline for every later step.
Transfer install artifacts through an approved path
The platform engineer moves every container image, package, source archive and configuration file into the lab through the organization's approved media or transfer process. Each artifact gets a checksum recorded in a manifest, and the security team verifies the hashes against the vendor's published values before anything is installed. The finished note is an artifact manifest with names, versions and checksums, plus the list of anything missing that the install will need.
Install the candidate from transferred artifacts only
The platform engineer installs the candidate on hosts in the lab using only the transferred files, and records each dependency that the installer tries to fetch from outside. For PostHog, the self-host documentation describes a Docker Compose deployment under an MIT license, but it does not document an air-gapped installation, so confirm with the vendor how images and dependencies are supplied offline. For Matomo, the team installs the PHP, MySQL or MariaDB, and web server stack listed in the requirements. The check is a clean install log with no failed pulls or fetches, or a list of each one that needs a fix.
Record every failed outbound call
The network team pulls firewall deny logs and the security team captures DNS queries and connection attempts from each host during install and first use. Each call goes into an egress register with its destination, the process that made it, the feature it serves and what the product did when the call failed. The check is a register where every entry has a disposition, either a local alternative or an owner who must confirm the impact with the vendor.
Load the geolocation database by hand
The platform team loads a geolocation database into the Matomo instance manually, since Matomo On-Premise requires a manual install of a file such as GeoIP2 or DB-IP that must be updated regularly. They confirm the license terms of the chosen database allow this use and record who will refresh the file and how the file reaches the network. The check is a test visit from a known address that shows the expected country and city, plus a written update procedure with an owner.
Test spam prevention, updates and licensed features
The security team tests each feature that normally reaches outside the network and records whether it fails safely. For Matomo, Tracking Spam Prevention needs internet access to download and update its list of cloud provider IP addresses, so confirm whether a locally supplied list is supported before relying on it. For PostHog, premium features in the ee directory on a self-hosted instance require a PostHog license, so confirm how that license is validated offline and whether the posthog-foss repository covers the required scope. Check update checks and the admin console for prompts or errors. The note lists each feature with pass, fail or vendor-confirmation status.
Write the findings note for review
The test lead combines the artifact manifest, egress register, install log and feature results into one findings note with open questions for the vendor. The security and network teams review it together, and the note records which failures block adoption, which need a fix and which need a vendor answer before a purchase or build decision. The check is a signed review record from both teams, kept with the lab configuration so the test can be repeated on a newer release.
What buyers ask before hiring help for air-gapped analytics
How much effort does running PostHog or Matomo offline take?
Effort depends on the platform and on how many outside dependencies the network blocks. PostHog's self-host documentation says self-hosting means you run your own infrastructure, manage deployments and handle scaling yourself, and that self-hosted deployments are officially unsupported. Its overview does not document an air-gapped or offline installation as of December 2026, so confirm with PostHog before you scope the work. Matomo On-Premise needs a geolocation database such as GeoIP2 or DB-IP installed by hand and updated regularly. Its spam prevention feature needs internet access to refresh its list of cloud provider IP addresses, so that list must be mirrored internally. Matomo does not appear to publish an official air-gapped installation guide, so ask the vendor to confirm. Plan effort around these replacement feeds as well as the install.
What drives the cost of a fixed-scope analytics engagement?
The main drivers are host count, data volume, the number of sites or products, SSO scope and the depth of the egress review. Each host adds build, hardening, backup and monitoring work. Data volume drives storage sizing, retention design and restore testing. Every tracked site or product adds tagging, configuration and test cases. SSO work depends on the identity provider your network already runs. The egress review covers every outbound path, including geolocation and spam-list updates, and how each one is blocked, mirrored or replaced. DeployOpen agrees scope, deliverables and timelines in writing before work starts and does not publish a price list. A quote follows from that written scope.
What does the work need from our own team?
Your team supplies the infrastructure, access and decisions, and DeployOpen's work depends on them. In practice that means:
- Hosts, operating systems, database servers and container platforms inside your network, with the access the work requires.
- An identity owner who can support SSO configuration and test accounts, if SSO is in scope.
- A named owner for geolocation and other reference data refreshes, since Matomo's documentation says they should be updated regularly.
- A network or security owner who approves each outbound path and the internal mirror design.
- A business owner who confirms which sites, apps and events are in scope and signs the written scope.
Can our internal team run PostHog or Matomo without outside help?
It can, but only if you already operate the stack Matomo needs and can own upgrades. Matomo 6.0.0 needs PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer. Matomo 4.16 and 5 run on PHP 8 with MySQL 5.5 or later or MariaDB, behind a web server such as Apache, Nginx, IIS or LiteSpeed. Matomo's changelog lists 5.14.1 (October 4, 2026) as the latest stable version, and 6.0.0 has been in beta since September 9, 2026, so confirm which line you will run before you size the team. PostHog's self-hosted deployments are officially unsupported, so an internal team would carry all support, scaling and upgrade decisions. Ask DeployOpen to scope a support retainer if you want outside help after go-live.
What should a written quote for analytics hosting include?
A useful quote names every component, its owner and what is excluded. Ask for:
- The platforms, versions and editions in scope, including whether you need features from PostHog's ee directory, which need a PostHog license on a self-hosted instance.
- Host count, data volume assumptions, and the number of sites or products to be instrumented.
- The identity provider, SSO scope and test plan.
- The egress review: which outbound paths are checked and which internal replacements are built.
- Hardening, backup and restore testing, upgrade support and documentation, each with a named deliverable.
- Whether ongoing support is a separate retainer, and what it excludes.
- Acceptance criteria and timelines, agreed in writing before work starts.
Does a fixed-scope engagement include compliance evidence?
It can include the systems, controls and evidence prepared for a compliance assessment, but DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies issue those. Agree the evidence list with your auditor before the scope is signed, so the written deliverables match what they will test. Examples include configuration records, access settings, audit logging and backup restore results. Include the people who own each control in that conversation. If you need control mappings for PostHog or Matomo, confirm with each vendor what its documentation covers and whether it maps to your framework.
What recurring work follows an offline analytics deployment after go-live?
Upgrades, reference data refreshes, backup restore tests, patching and monitoring recur for as long as the platform runs. For Matomo, the geolocation database should be updated regularly, and any internal mirror of the spam-prevention IP lists needs an owner too. PostHog's self-hosted route is officially unsupported, so your team or a support retainer covers every fix. Test each upgrade in a non-production copy before it reaches production, and name the owner of that copy. DeployOpen offers upgrades, ongoing support and continuous testing as retainers. It does not publish a price list, so ask for a quote tied to the written scope.
How DeployOpen helps run analytics tools in air-gapped networks
DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted analytics platforms inside your own cloud accounts, data centers or air-gapped networks. Neither PostHog nor Matomo publishes an official air-gapped installation guide that we could confirm as of December 2026, so the first step is mapping which features still need an outside connection. Each engagement is fixed-scope, with the scope agreed in writing before work starts.
How we scope
- The written scope names the analytics tool, the sites and apps sending data, and where that data is stored.
- The scope lists each feature that calls an outside service, such as Matomo's GeoIP and spam list updates.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.
How we build
- Install the chosen platform in your own cloud account, data center or air-gapped network.
- Configure SSO and access control where the tool supports them, and confirm which audit logs it writes before go-live.
- Build a documented manual process to refresh GeoIP reference data, which Matomo On-Premise requires you to install and update.
How we hand over
- Runbooks for deployment, configuration, backup, restore and upgrades, written for the network your team operates.
- Evidence pack for your assessors: configuration records, access settings and log samples. Independent auditors issue any audit opinion.
- Security testing of the deployed tool, with a findings report, fixes and a retest when your scope includes them.
How we support
- Retainers cover ongoing support, upgrades and continuous testing, so each release change is planned in advance.
- Upgrade planning tracks Matomo 6.0.0 requirements, including PHP 8.1 or newer and MySQL 8.0 or newer.
- Ask for a quote that lists each external data dependency and who keeps its offline copy current.

