Google Analytics vs Matomo for PCI DSS: which fits a cardholder data environment
No PCI DSS attestation of compliance was found for Google Analytics, Matomo Cloud or Matomo On-Premise, so the choice rests on scope, data location and who operates the platform. Neither tool should receive primary account numbers or other cardholder data, so the first decision is whether an analytics tag can sit on a payment page at all. Google Analytics fits an organisation that accepts a Google-operated service outside its cardholder data environment (CDE), keeps card data out of every event, URL parameter and form field, and documents that boundary for the assessor. Matomo On-Premise fits an organisation that wants the servers, database and logs inside its own environment and accepts the patching, hardening and access control work that comes with running them.
If the team leans toward Google Analytics, the main work is scope documentation. Google Analytics does not appear in the Google Cloud PCI DSS documentation services list (checked December 2026), so keep the tag off every checkout, payment and account-entry page. Inventory each tag through your tag manager, confirm that no analytics request carries card data, and keep a data flow diagram showing where analytics data goes. PCI DSS v4.0.1 is the only active version of the standard, so map your evidence to it. Before sign-off, ask Google in writing which of its services, if any, your assessor can accept as in scope for your CDE.
Matomo On-Premise moves the question inward. Your assessor will likely treat the Matomo host as an in-scope system if it shares a network segment with the CDE or receives page content from payment pages, so place it outside that segment and document the boundary. Plan for the operator work: Matomo 5.14.1 is the latest stable release and 6.0.0 is in beta, so confirm which line you will run, then check its PHP and database requirements, TLS configuration, admin access, patch cadence and log retention. Matomo Cloud shifts hosting to Matomo, but no attestation was found for it either, so it still needs the same scope exercise and a review of its data processing agreement before you choose it.
Where analytics tags can meet cardholder data
This illustrative diagram starts at the checkout page, where the card entry fields sit inside the cardholder data environment (CDE) boundary. The analytics tag often loads on the same page, so it runs in the browser beside those fields. The key hand-off is from the card fields to the tag: card numbers and sensitive authentication data must not reach event parameters, page URLs or tag payloads. From the tag, page data goes either to Google Analytics, operated by Google, or to Matomo, self-hosted or on Matomo Cloud. Check what the tag sends from each checkout step, and ask your assessor where the boundary sits. The assessor decides the actual scope.
Illustrative flow: analytics tag beside card entry, with the card data rule marked.
What PCI DSS asks of an analytics tool on a payment page
PCI DSS is owned and maintained by the PCI Security Standards Council, and it applies to any entity that stores, processes or transmits cardholder data or sensitive authentication data, or that could affect the security of the cardholder data environment (CDE). That includes merchants and service providers. A web analytics tag on a payment page can fall within that last category even if it never receives a card number. The script runs in the shopper's browser on the same page where card details are typed, it loads code from a third party, and it may send page URLs, form values or order details to a collector. So the assessor will ask three questions: what the tool receives, where it stores that data, and who can reach it. The PCI DSS page on the PCI SSC site is the starting point for the standard's own scope language.
PCI DSS v4.0.1 is the only active version. PCI DSS v4.0 was retired on 31 December 2024, and v3.2.1 was retired on 31 March 2024, so any scope memo or prior assessment that cites either older version needs updating before it reaches an assessor. Which numbered requirements apply to a given analytics tag is for the organization's assessor to decide, based on how the payment pages and their data flows are built. Expect the discussion to cover the rules on managing scripts that load on payment pages, access control, logging and the review of changes to those pages. Confirm the scope in writing with your assessor before collecting evidence, because a tool the assessor treats as in scope brings its settings, user lists and logs into the assessment.
Start with an inventory of every script that loads on payment and checkout pages, including tags pushed through a tag manager, and record what each one sends. For the analytics tag, check which form fields, URL parameters and page titles leave the browser, and turn off collection on any page that carries order or card data. Record who holds administrator rights in the analytics tool and the tag manager, because those roles can change what is sent. Payment card data should not be sent to Analytics, and Google Cloud's PCI DSS services list, checked in December 2026, does not include Analytics. No Analytics attestation of compliance was found. For Matomo, no Matomo Cloud PCI DSS attestation was found, and Matomo publishes none for On-Premise, so the organization's own evidence has to carry the assessment either way.
How Google Analytics and Matomo meet PCI DSS as documented
This table sets each platform's documented PCI DSS position against the concerns an assessor will raise for an analytics tool. Read the Google Analytics column as absence of evidence: no attestation or service listing was found, so the tool should stay out of cardholder data flows. Read the Matomo column as self-hosting moving most controls into your environment, with no vendor PCI evidence found for either deployment.
| PCI DSS concern | Google Analytics | Matomo |
|---|---|---|
| Attestation coverage | No Analytics Attestation of Compliance was found. Ask Google for any PCI evidence covering your property. | No Matomo Cloud PCI DSS Attestation of Compliance was found, and none is published for On-Premise. Ask Matomo for current evidence. |
| Scope in vendor's PCI service list | Not listed in Google Cloud's PCI DSS services list (checked December 2026). Payment card data should not be sent to Analytics. | No vendor PCI service listing found. Confirm in writing which Matomo components, if any, your assessor can rely on. |
| Data location | Confirm with Google which region stores your property data under its processing terms. Keep cardholder data out of the property. | Matomo Cloud is EU-hosted. On-Premise data stays on servers you choose, so location is set by your own deployment. |
| Retention controls | GA4 standard keeps user and event data 2 or 14 months, affecting explorations and funnels only. 360 adds 26, 38 and 50 months. | On-Premise retention is what your database and deletion routines enforce. Confirm Matomo Cloud retention in its DPA. |
| User access | Access is granted through Analytics user roles. Review the roles page against your least-privilege model. | Access depends on your admin accounts and any SSO you configure. Confirm which roles and login controls your edition supports. |
| Data processing terms | Analytics Data Processing Terms govern the service. Have counsel confirm they fit your use. | Matomo Cloud Data Processing Agreement is published. On-Premise keeps processing in your environment, so confirm which terms apply. |
| Hosting and server requirements | Google hosts the service, so you do not size or patch servers for it. | PHP with MySQL or MariaDB behind Apache, Nginx, IIS or LiteSpeed. 6.0.0 needs PHP 8.1+, MySQL 8.0+ or MariaDB 10.6+. |
| Version support | Universal Analytics data access ended in July 2024, so confirm your property is GA4. Ask Google for its support commitments. | Matomo 5.14.1 is the latest stable release, and 6.0.0 has been in beta since September 9, 2026. Confirm your upgrade path. |
Evidence an assessor asks for in a PCI DSS review
Google Analytics is a hosted service, so most of the evidence comes from your own configuration and from Google's contract terms. Google Analytics does not appear in Google Cloud's PCI DSS services list (checked December 2026), and no Analytics Attestation of Compliance was found, so your organization must document why the tool sits outside the cardholder data environment and why no card data reaches it.
- Scope statement: a written statement that Analytics is out of PCI DSS scope, the reasons for that decision, and the controls that keep card numbers and payment form fields out of events, URLs and page titles.
- Retention configuration: an export of the data retention settings for user-level and event data. Standard GA4 properties offer 2 or 14 months, while Analytics 360 adds 26, 38 and 50 months. Google states that the setting only affects explorations and funnel reports, and standard aggregated reports are outside it, so record both.
- User and role review: a dated export of account and property users and roles, showing who still needs Editor or Administrator access and who approved it. The Analytics users and roles guidance explains the role levels to document.
- Data processing terms: the Analytics Data Processing Terms you accepted, with the date and the account that accepted them, plus the Google Ads terms where advertising features are enabled.
- Tag inventory: every Google tag on payment and checkout pages, with its trigger, showing that none fires on card entry or the confirmation step.
Check that no Analytics tag fires on card entry or confirmation pages, and that the retention and role exports match what your scope statement says.
Matomo On-Premise runs in your own infrastructure, so the assessor looks at the servers, the hardening and the people who can reach the admin interface. Matomo publishes no PCI DSS attestation for On-Premise, and no Matomo Cloud Attestation of Compliance was found on the pages reviewed, so your own records carry the weight. If you use Matomo Cloud instead, the Matomo Cloud Data Processing Agreement sets the processing terms.
- Scope and data flow: a written scope statement covering the Matomo application host, its database, backups and any log shipping, plus a data flow diagram showing the path from the browser tag to storage and the network zones each step crosses.
- Hardening records: the web server, PHP and database settings you changed from defaults, file permissions, and the checks behind them. Record the version and patch history too, including whether the instance runs the 5.x line or Matomo 6.0.0, which has been in beta since September 9, 2026. Matomo's security page describes how the project handles vulnerabilities, but it does not replace your own patch records.
- Server sizing: the sizing decision against your monthly pageviews. Matomo's requirements FAQ sizes one server at 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month, and separate app and database servers at 8 CPUs and 16 GB of RAM each for up to 10 million.
- Backup and restore tests: dated backup records and at least one restore test that brought back the database and the configuration files, with the result written down.
- Admin account list: every super user and admin account, the date of its last access review, and the business reason each account still holds access.
Confirm that the admin list matches your directory and that the restore test checks the database and configuration files as well as the backup job's exit status.
Steps to keep analytics out of the cardholder data environment
This sequence is meant to keep product and web analytics out of the cardholder data environment and to leave a record an assessor can check. Each step produces an artifact: a tag inventory, a filter and test log, a written scope decision and a retest log. Run it before any analytics tag goes live on payment or checkout pages.
Inventory every analytics and marketing tag
Start on the payment, checkout and order confirmation pages, then list every analytics, advertising and marketing script, pixel and SDK that loads there, including tags pushed through a tag manager. Record the owner, the vendor, the data each tag sends and whether it fires before or after the payment form. The developers and the marketing team should both sign the list. You know this step is done when a browser crawl of those pages matches the inventory with no unlisted tags.
Block card data from events, URLs and forms
Analytics tools collect whatever the page exposes, so the developers must stop card numbers and sensitive authentication data from reaching them. Exclude payment form fields from automatic capture, remove card values from data layer pushes, custom variables, page titles and query strings, and check that no field is echoed into a URL after submission. No PCI DSS attestation of compliance was found for Google Analytics, so card data should never be sent to it. The output is a filter list and a test log showing that a transaction made with test card numbers in staging produces no card data in the analytics collector.
Choose the analytics side and record why
Decide which platform and hosting model stays outside the cardholder data environment, then write down why it fits. For Google Analytics, the record should state that it is absent from Google Cloud's PCI DSS services list as checked in December 2026 and that no Analytics attestation of compliance was found, so it belongs only on pages without card data. For Matomo, separate On-Premise, where your team runs the servers and must prove network separation, from Matomo Cloud, for which no PCI DSS attestation was found. The output is a dated scope decision naming each system and data flow.
Configure retention or harden the Matomo host
Google Analytics users set the data retention period in the property settings, and standard GA4 properties offer 2 or 14 months for user-level and event data. Google states that this setting affects only explorations and funnel reports. For Matomo, the work is hosting: a supported PHP and database version, a patch routine for the operating system and application, and a server placed where the scope record says it sits. Matomo 6.0.0 needs PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer, so check the version you run before you set patch dates. The output is a retention export and a patch log for each host.
Restrict user and admin access on both sides
List who can view analytics reports, edit tags, publish tag manager containers, and hold admin or superuser rights on the Matomo host, its database and its SSH access. Use the Google Analytics user and role settings to limit report access, and keep tag publishing rights in the tag manager separate from analytics administration. Remove leavers and shared accounts, and confirm that anyone who can change a tag also sits in the change process for checkout pages. The output is an access review for each platform, approved by the system owner and dated.
Agree the scope with the assessor in writing
Send the tag inventory, the data flow description, the scope decision and the filter test log to the organization's assessor before the change goes live. Ask for written confirmation of the scope they accept, because the assessor makes the final scope call. Ask which evidence they expect for each tag and whether they will sample a retest. The output is a written scope confirmation, filed with the evidence set for the next assessment.
Retest the tag configuration after each upgrade
Repeat the browser crawl and the test-card transaction after every Matomo upgrade and after every change to a tag manager container or Google Analytics property setting. A new release or a changed default can add capture that was not there before, so compare the results with the inventory from the first step and update the scope record where a tag has changed. The output is a retest log linked to each change ticket, which the assessor can sample at the next review.
What Universal Analytics history and GA4 retention mean for audit evidence
Start with the retention window, because it sets how far back user-level and event data can be queried in GA4. Standard properties keep that data for 2 or 14 months, and Analytics 360 properties add 26, 38 and 50 month options. Google states that the setting affects explorations and funnel reports, so standard aggregated reports can still show older periods. Check the Data retention setting on every property in scope now, record the value and the date it was last changed, and ask the assessor which report types they plan to sample. Google's data retention guidance explains the options in more detail.
Universal Analytics history is the gap most likely to surprise an assessor. Google states that standard Universal Analytics properties stopped processing data on July 1, 2023, and that 360 properties with a current order received a one-time extension to July 1, 2024. Access to all Universal Analytics data ended the week of July 1, 2024, and unexported data was permanently deleted. If an evidence period in your PCI DSS scope relies on Universal Analytics reports, no GA4 setting restores it. Confirm whether anyone exported that data before the deadline, list where the copies sit and who holds them, and ask the assessor whether those records are needed for the period under review.
Two decisions belong in the evidence file. The retention rules you set for Matomo form your own storage policy, so record the retention period, the backup schedule and the deletion job, and have your team confirm them against the requirement. If you keep GA4 event history by exporting it, check the BigQuery export limits against the volume you need. Google's BigQuery export documentation states that standard properties have a daily limit of 1 million events, while Analytics 360 properties can export up to 20 billion events a day. Streaming export has no volume limit but adds BigQuery charges of $0.05 per GB. Set those figures against what the assessor expects to see before you choose a retention design.
What buyers ask before hiring help with PCI DSS analytics scoping
Does Google Analytics or Matomo have a PCI DSS attestation?
Neither has one that we could find, so confirm it in writing with each vendor before you rely on it. We did not find a PCI DSS Attestation of Compliance for Google Analytics, and Google Analytics does not appear in Google Cloud's PCI DSS services list as checked in December 2026. We did not find a Matomo Cloud attestation on the pages we reviewed, and Matomo publishes no PCI DSS attestation for its On-Premise edition. Ask each vendor for its current attestation status, the scope it covers and the date of that scope. Even with a vendor attestation, your own cardholder data environment still needs its own review, because the attestation covers only the vendor's service.
What makes a PCI DSS analytics scoping project take more effort?
The main drivers are the number of payment pages, the number of tags that load on them, whether Matomo runs on your own servers, and how much history the assessor wants to see. Each payment page and each tag that can read it widens the review, because the assessor has to confirm what runs there and whether card data can reach it. A self-hosted Matomo adds its servers, database, backups, patching and access logs to the review. Google Analytics runs on Google's side, so that review leans more on configuration and data flows. History matters because an assessor who asks about a past period needs logs and change records that cover it. Effort drops when card data stays out of analytics entirely and a written, approved list controls which tags may fire on payment pages.
How long does PCI DSS analytics scoping take?
Duration depends on the written scope, and this comparison does not give a fixed timeline. The scope fixes which pages, tags, hosts and evidence are included, so two projects with the same tool can run at very different lengths. Ask for a timeline tied to named deliverables, the assessor's review dates and your own change windows. Confirm who must approve each stage, because assessor availability often sets the pace more than engineering work does. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Use that same scope document to compare any two proposals.
What do we need to provide for a PCI DSS analytics review?
Plan for four kinds of access and contact before work starts. The first is tag manager access, with a list of every tag and the pages where it fires. The second is hosting access for a self-hosted Matomo, covering the application, database, web server and backup systems, so the review can check configuration and logs. The third is access to the Google Analytics property with admin rights to its data settings, plus the BigQuery export if one is linked. The fourth is the assessor's contact details and written requirements, so the scope is agreed with the people who will sign off the result. Name the owner of each system early so access requests move quickly.
Can our team scope PCI DSS analytics without outside help?
Yes, if your team has the time, the skills and the access listed above. The harder test is whether the assessor accepts the scope you document. Internal teams know their tags and servers well but can miss a script that another vendor loads indirectly, or a log path that holds card data. Check the scope with the assessor early, ask for their expectations in writing, and have a second person test the tag inventory against the live payment pages. Outside help makes more sense when nobody on the team has time for the review or when an assessor has already rejected an earlier scope. Either way, the assessor decides what counts as in scope.
Who certifies the PCI DSS result for analytics tools?
A qualified assessor performs the assessment and reaches the compliance conclusion under the rules of the PCI Security Standards Council, which owns and maintains PCI DSS. DeployOpen prepares the scope documentation, the data flow records and the evidence the assessor asks for, and it does not issue audit reports, attestations or certifications. Ask the assessor which PCI DSS version they will assess against. PCI DSS v4.0.1 is the only active version, since v4.0 was retired on 31 December 2024. The standard itself is published on the PCI SSC standards page.
How DeployOpen prepares a PCI DSS analytics scope
DeployOpen helps teams decide where analytics sits relative to the cardholder data environment, then either configures a self-hosted Matomo inside the client's own infrastructure or documents how Google Analytics is kept out of card data flows. DeployOpen prepares systems, controls and evidence for a PCI DSS assessment but does not issue attestations, which remain the job of an independent assessor.
How we scope
- The written scope names which analytics properties, pages and forms fall inside the PCI DSS review.
- Scope records whether card data could reach Google Analytics, Matomo or their tags, and where it is blocked.
- Engagements are fixed-scope, and a quote follows from the written scope before work starts.
How we build
- For Matomo, DeployOpen installs the self-hosted edition inside the client's infrastructure and hardens it to the client's written baseline.
- For Google Analytics, the build covers tag placement and data layer fields that keep card data out.
- Security testing covers the pages, forms and APIs that feed analytics, so leaks surface before an assessor's review.
How we hand over
- Handover includes configuration records, network and data flow diagrams and the change log for every analytics control.
- Documentation covers who holds admin rights, how access is reviewed and how upgrades and backups are run.
- Evidence is prepared for the assessor, and DeployOpen does not issue audit reports, attestations or certifications.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
- Upgrades for a self-hosted Matomo are planned, tested and documented before the change reaches production.
- Google Analytics changes, such as tag or property updates, are reviewed against the scope before they go live.

