Building a compliance team for ecommerce: roles, tools and workflows
Most mid-market ecommerce companies do not have a dedicated compliance team. Compliance responsibilities are fragmented across IT, legal, marketing and the ecommerce team itself. Agencies managing multiple stores face similar challenges, as covered in our guide on compliance for agencies. This works until it does not: a lawsuit arrives, a regulator sends an inquiry or a breach occurs, and nobody knows who owns the response.
This guide covers how to structure compliance ownership for a $5M to $50M ecommerce operation: who owns what, when to hire versus outsource, what tools you need and how violations get from detection to resolution. For the financial justification, see our compliance ROI calculator.
Who owns compliance today: the fragmented reality
In most mid-market ecommerce companies, compliance ownership looks like this:
- Head of Ecommerce or VP Ecommerce. Owns the customer experience, including checkout and cart flows. Usually the first person sued in an ADA accessibility lawsuit. Rarely has compliance expertise.
- Legal counsel (in-house or external). Responds to lawsuits and regulatory inquiries. Often not informed about technical violations until something goes wrong. Typically not involved in day-to-day ecommerce operations.
- IT or Security team. Owns PCI DSS compliance, network security and data breach response. May or may not be aware of what payment page scripts marketing has added.
- Marketing team. Adds third-party scripts, tracking pixels and cookies without coordinating with IT or legal. Often the largest source of PCI and privacy violations.
- External agency. Builds and maintains the front-end. May have introduced accessibility violations in the last theme update and does not monitor for them afterward.
The problem is not that these teams exist. It is that nobody owns the intersection. PCI violations triggered by a marketing script that IT did not know about are the most common scenario.
RACI matrix for compliance tasks
A RACI matrix assigns Responsible, Accountable, Consulted and Informed roles to each compliance task. For a mid-market ecommerce operation:
- Accessibility scanning and remediation. Responsible: front-end developer or agency. Accountable: Head of Ecommerce. Consulted: legal (for risk assessment). Informed: CEO/CFO.
- PCI DSS compliance program. Responsible: IT/Security manager. Accountable: CTO or VP Engineering. Consulted: Head of Ecommerce (for payment page changes), legal (for breach response). Informed: CFO.
- Cookie consent and privacy compliance. Responsible: marketing operations. Accountable: DPO (if you have one) or legal counsel. Consulted: IT (for technical implementation), Head of Ecommerce (for impact on conversion). Informed: CEO.
- AI Act compliance. Responsible: whoever owns the AI tools (often marketing or product). Accountable: legal counsel. Consulted: IT (for technical documentation), Head of Ecommerce. Informed: CEO.
- Breach response. Responsible: IT/Security. Accountable: CTO. Consulted: legal (immediately), PR (if public disclosure required). Informed: CEO, board.
When to hire dedicated compliance staff
The decision to hire dedicated compliance staff versus outsourcing depends on three factors: revenue, regulatory exposure and operational complexity.
The thresholds where dedicated hires make economic sense:
- Data Protection Officer (DPO): required at certain GDPR thresholds. GDPR mandates a DPO for organizations that process personal data at scale, process sensitive data categories or conduct large-scale systematic monitoring. If you have over 250 employees or process EU personal data as a core business activity, you likely need a formal DPO. For most mid-market ecommerce stores, a part-time DPO through a law firm or consultancy is sufficient.
- Accessibility lead: when annual audit cost exceeds $40,000. If you are paying an external accessibility consultant for multiple audits per year across a large catalog, an in-house accessibility specialist becomes more cost-effective around $30M to $50M in revenue. Below that, a trained developer plus an external consultant for annual testing is more efficient.
- Security engineer: when PCI scope is SAQ D or above. If you store, process or transmit card data (not fully outsourced), you need dedicated security expertise. A PCI-focused security engineer is a hire, not a retainer.
When to outsource compliance work
Outsourcing makes sense for compliance work that is specialized, infrequent or requires independence:
- Annual WCAG audits. Manual accessibility testing by certified specialists (IAAP CPACC or WAS-certified auditors) should be external. The cost is $3,000 to $15,000 for a comprehensive audit. It is not efficient to maintain this expertise in-house for annual assessments.
- Penetration testing. PCI DSS requires annual penetration testing. This is almost always outsourced to a QSA (Qualified Security Assessor) or security firm. Cost: $5,000 to $30,000 depending on scope.
- Legal review of privacy policies and terms. Annual review by a privacy-specialized law firm is more cost-effective than retaining in-house privacy counsel for most stores under $30M revenue.
- DSAR (Data Subject Access Request) handling. If your volume is low (under 20 DSARs per month), a defined internal process plus occasional external legal review is more efficient than a dedicated team.
Key roles and what they actually do
Data Protection Officer
The DPO oversees GDPR compliance. Core responsibilities: maintaining the Record of Processing Activities (ROPA), managing DSARs, advising on data impact assessments (DPIAs) and serving as the contact point for supervisory authorities. In practice, for a mid-market ecommerce company, the DPO spends 20% to 30% of time on ecommerce-specific issues: cookie consent configuration, marketing data practices and third-party data sharing agreements.
Accessibility lead
Not a full-time role in most mid-market companies. This is typically a senior developer with WCAG training who owns the accessibility testing process, liaises with external auditors and has authority to block releases that introduce critical violations. The role is effective only if it has actual authority to delay releases: an accessibility lead who cannot hold a deployment is a compliance theater role.
Security engineer (PCI focus)
Owns the PCI DSS compliance program: annual QSA engagement, quarterly ASV scans, script inventory on payment pages, CSP header management and change detection monitoring per Requirement 11.6.1. Coordinates with marketing on script approvals before they go live on checkout pages.
The compliance toolstack
Tools for each compliance function at the mid-market scale:
- Accessibility scanning: automated. Tools like Complyko, Axe Monitor or Deque's axe DevTools Pro for continuous automated scanning. Automated tools catch 30% to 40% of WCAG violations. They are necessary but not sufficient.
- Accessibility testing: manual. NVDA + Firefox (Windows), VoiceOver + Safari (macOS/iOS), TalkBack (Android). At minimum, quarterly manual testing of checkout and cart flows by a trained tester.
- Consent management platform (CMP). OneTrust, Cookiebot, Osano or similar. Manages cookie consent banners, preference centers and consent records. Cost: $500 to $5,000/year depending on tier.
- PCI script monitoring. Tools that inventory third-party scripts on payment pages and alert when new scripts are added or existing scripts are modified. Requirement 11.6.1 mandates this.
- Policy management. Document management for privacy policies, accessibility statements and terms. Needs version control and approval workflows. Confluence, Notion or a dedicated policy management tool.
- Incident response platform. For breach response and DSAR handling. PagerDuty for incident alerts, a ticketing system (Jira, Linear) for DSAR tracking with SLA management.
Workflow: from violation detection to resolution
The typical compliance workflow for handling a detected violation:
- Detect. Automated scan flags a new WCAG violation on the checkout page. Alert sent to accessibility lead and Head of Ecommerce.
- Triage. Accessibility lead reviews: is this a new violation or a pre-existing one? What is the severity? Critical (blocks purchase) or moderate (cosmetic)? Estimated user impact?
- Assign. Critical violations: assigned to development with a 5-day SLA. Moderate violations: added to the next sprint. Minor violations: added to backlog.
- Fix. Developer implements the fix. For accessibility, the fix must be reviewed by the accessibility lead before deployment, not just the product owner.
- Verify. Automated scan confirms the violation is resolved. Manual verification for critical violations. Result logged in compliance tracker.
- Document. Fix documented in the compliance tracker with date detected, date resolved and fix description. This documentation is evidence in legal proceedings.
The documentation step is where most teams fail. A structured compliance audit checklist helps ensure nothing is missed. Detecting and fixing violations without documentation means you cannot demonstrate a pattern of good-faith compliance effort if you are ever sued or investigated.
The compliance calendar
Compliance is not just reactive. A structured annual calendar reduces risk:
- Annual (Q1). External WCAG audit by certified accessibility specialist. PCI DSS annual self-assessment or QSA audit. Privacy policy review. Annual accessibility report to leadership.
- Quarterly. PCI ASV (Approved Scanning Vendor) vulnerability scan. Review of new third-party scripts added in the past quarter. DSAR metrics review. Consent rate analysis.
- Monthly. Automated compliance scan results review. New violations triaged and assigned. Script inventory check on payment pages.
- Weekly. Automated scan runs. Alerts reviewed. Critical violations addressed within 5 days. This cadence is the foundation of continuous compliance monitoring.
- Event-triggered. Before any major theme update: pre-deployment accessibility scan. Before adding any new third-party script to checkout: PCI impact assessment. After any data incident: GDPR 72-hour notification assessment.
The agency model for multi-store compliance
Agencies managing 10 to 50 ecommerce stores face a different structure challenge. They cannot hire compliance specialists for each client. The effective model:
- One senior compliance lead across the agency who owns standards, tooling and vendor relationships.
- Each client account manager is trained to identify compliance risks in project work.
- Centralized scanning tools that run across all client stores, with per-client reporting.
- Compliance review as a defined step in the development process (same as code review).
- Compliance retainer offering: monthly monitoring report plus priority fix SLAs. Priced at $500 to $1,500/store/month.
Frequently asked questions
- Who should own compliance in an ecommerce company?
- Compliance ownership should be distributed using a RACI matrix. The Head of Ecommerce is typically accountable for accessibility, IT/Security owns PCI DSS, legal counsel owns AI Act and the DPO or legal counsel owns privacy compliance.
- When should ecommerce companies hire a DPO?
- GDPR mandates a DPO for organizations that process personal data at scale or process sensitive data categories. For most mid-market ecommerce stores under 250 employees, a part-time DPO through a law firm or consultancy is sufficient.
- What tools do ecommerce compliance teams need?
- A minimum toolstack includes automated accessibility scanning, a consent management platform (CMP), PCI script monitoring for payment pages, policy management and an incident response platform for breach response and DSAR handling.
Complyko provides the scanning layer for your compliance workflow: automated detection across accessibility, PCI DSS, privacy and AI Act. Free scan to baseline your current state.
Get your free scan →