Every time a visitor types a message into a chatbot, they share personal data — their name, email, phone number, sometimes even sensitive details about their situation. For businesses operating in Quebec or serving European customers, protecting that data is not optional. It is the law.

ChatDirect was built from day one with Privacy by Design at its core — not as an afterthought bolted on to satisfy regulators, but as a fundamental architectural principle. This article explains what that means in practice, how it satisfies both Quebec's Law 25 and Europe's GDPR, and how you can configure it for your business.

What is Privacy by Design?

Privacy by Design is a framework developed by Dr. Ann Cavoukian, former Information and Privacy Commissioner of Ontario. It holds that privacy must be embedded into the design and architecture of systems from the very beginning — not added retroactively through policies or consent banners.

The seven foundational principles are: proactive not reactive, privacy as the default, privacy embedded into design, full functionality (positive-sum), end-to-end security, visibility and transparency, and respect for user privacy. Both Law 25 and GDPR explicitly reference these principles.

For a chatbot, this means that data protection decisions must be made at the code level — how data is collected, stored, encrypted, retained and deleted — before a single visitor ever sends a message.

Quebec's Law 25: what it means for your chatbot

Quebec's Law 25 (formerly Bill 64) came into full effect in September 2024 and applies to every business that collects personal information from Quebec residents, regardless of where the business is located. If your website has visitors from Quebec — and it almost certainly does — Law 25 applies to you.

Key requirements relevant to chatbots:

  • Consent: You must obtain clear, informed consent before collecting personal information. A chatbot that silently logs IP addresses and conversation content without disclosure violates Law 25.
  • Purpose limitation: Data collected through the chatbot can only be used for the purposes disclosed at the time of collection.
  • Right of access and deletion: Visitors must be able to request their data and have it deleted. Your chatbot must support this operationally.
  • Privacy impact assessment: If your chatbot collects sensitive data (health, financial), you may need to conduct a formal privacy impact assessment.
  • Data breach notification: If conversation data is compromised, you must notify the Commission d'acces a l'information du Quebec within a prescribed timeframe.

The penalties are significant: up to $25 million or 4% of worldwide turnover, whichever is greater. For SMBs, even a fraction of that amount is devastating.

European GDPR requirements

If your business serves customers in the European Union or European Economic Area, the General Data Protection Regulation (GDPR) applies. Its requirements overlap significantly with Law 25 but include additional obligations:

  • Lawful basis for processing: You need a legal basis (consent, legitimate interest, or contract performance) for every piece of data your chatbot collects.
  • Data minimization: Collect only what is strictly necessary. If your chatbot asks for a phone number but never calls, that is a violation.
  • Right to portability: Visitors can request their data in a machine-readable format.
  • Data Protection Officer: Larger organizations may need to appoint a DPO.
  • Cross-border transfers: If conversation data leaves the EU, adequate safeguards must be in place.

GDPR fines can reach 20 million euros or 4% of annual global turnover. Several chatbot providers have already been fined for inadequate data protection practices.

The 7 protection pillars in ChatDirect

ChatDirect implements seven concrete technical measures that address both Law 25 and GDPR requirements. Each one is configurable per client, so you can adapt the level of protection to your specific regulatory environment.

1. IP anonymization — 4 modes

IP addresses are personal data under both Law 25 and GDPR. ChatDirect offers four IP anonymization modes that you can configure per chatbot:

  • Full IP: The complete IP is stored (useful for fraud detection, requires explicit consent).
  • Partial anonymization: The last octet is replaced (e.g., 192.168.1.XXX), reducing identifiability while preserving geographic data.
  • Hash only: The IP is hashed with a one-way function. You can detect returning visitors without knowing their actual IP.
  • No storage: The IP is never recorded. Maximum privacy, no visitor tracking capability.

For most businesses operating under Law 25 or GDPR, partial anonymization or hash-only mode strikes the right balance between functionality and compliance.

2. Zero-cookie mode

Many chatbot widgets drop cookies to track visitors across sessions. Under both Law 25 and GDPR, this requires explicit consent — typically through a cookie banner. ChatDirect's zero-cookie mode eliminates this requirement entirely.

When enabled, the widget uses no cookies, no localStorage tracking, and no fingerprinting. Each visit is treated as a fresh session. This means you do not need a cookie consent banner for the chatbot, simplifying your compliance posture significantly.

3. Configurable data retention

Both regulations require that personal data not be kept longer than necessary. ChatDirect lets you configure automatic data retention periods per client — conversations and leads can be automatically purged after 30, 60, 90 days, or a custom period. You can also trigger manual cleanup at any time.

4. Conditional Google Analytics (GA4)

If you use Google Analytics to track chatbot interactions, ChatDirect offers a conditional GA4 mode. Analytics events are only sent if the visitor has given consent through your cookie banner. If no consent is recorded, the chatbot operates in analytics-free mode — no tracking pixels, no data sent to Google.

5. Visitor data export and deletion

Both Law 25 and GDPR grant individuals the right to access and delete their data. ChatDirect provides a dedicated API endpoint (api/delete-data.php) that allows visitors to request deletion of all their conversation data. Admins can also export visitor data in a machine-readable format for portability requests.

6. Canadian hosting

ChatDirect is hosted on OVH servers in Canada. For businesses subject to Law 25, this means personal data never leaves Canadian jurisdiction. For GDPR purposes, Canada has been granted an adequacy decision by the European Commission, meaning data transfers from the EU to Canada are permitted without additional safeguards.

This dual compliance advantage is significant. Many chatbot providers host data in the United States, which lacks an adequacy decision and requires complex Standard Contractual Clauses for EU data transfers.

7. AES-256 encryption

All sensitive data stored by ChatDirect — API keys, webhook secrets, authentication tokens — is encrypted using AES-256-CBC, the same encryption standard used by financial institutions and government agencies. Encryption keys are derived from server-side configuration and are never exposed to clients or stored in code.

Conversation content is stored in server-side files with restricted access permissions. No conversation data is ever stored in the browser, in cookies, or in client-side storage.

Law 25 vs GDPR comparison

The following table highlights key differences and how ChatDirect addresses each requirement:

Requirement Law 25 (Quebec) GDPR (Europe) ChatDirect
Consent Required before collection Required (or other lawful basis) Configurable consent banner in widget
IP handling IP is personal data IP is personal data 4 anonymization modes
Cookies Consent required Consent required (ePrivacy) Zero-cookie mode available
Data retention Only as long as necessary Only as long as necessary Configurable auto-purge
Right to deletion Yes Yes (right to erasure) Dedicated API endpoint
Data portability Not explicitly required Yes (machine-readable) Export via admin panel
Hosting location Canada preferred EU or adequate country Canada (EU adequacy decision)
Encryption Appropriate safeguards Appropriate technical measures AES-256-CBC
Max penalty $25M or 4% turnover €20M or 4% turnover

Privacy by Design is not about checking boxes — it is about building systems where privacy violations become technically difficult. That is the standard ChatDirect holds itself to.

How to configure privacy settings

All privacy features are accessible from the GDPR/Privacy tab in your bot configuration (admin panel or client portal). Here is what you can configure:

  1. IP anonymization mode: Choose from full, partial, hash, or none.
  2. Cookie mode: Enable or disable zero-cookie mode.
  3. Consent message: Customize the consent text displayed to visitors before the first interaction.
  4. Data retention: Set automatic cleanup period (30/60/90 days or custom).
  5. GA4 conditional mode: Enable analytics only when visitor consent is recorded.
  6. Delete data endpoint: Activate the visitor self-service deletion option.

For businesses operating in both Quebec and Europe, we recommend: partial IP anonymization, zero-cookie mode enabled, 90-day retention, and conditional GA4. This configuration satisfies both Law 25 and GDPR with no additional effort.

Conclusion

Data protection is not a feature you add to a chatbot — it is a foundation you build it on. Quebec's Law 25 and Europe's GDPR have made this a legal requirement, with penalties that can reach $25 million.

ChatDirect's Privacy by Design approach means that compliance is not something you configure after deployment. It is built into every layer of the system: from how IPs are handled, to how conversations are stored, to how data is encrypted and eventually deleted. Seven concrete technical pillars — IP anonymization, zero-cookie mode, configurable retention, conditional analytics, visitor data rights, Canadian hosting, and AES-256 encryption — work together to protect your visitors and your business.

Whether you operate under Law 25, GDPR, or both, ChatDirect gives you the tools to deploy a chatbot that respects privacy from the first message to the last. This is especially critical for professional services firms handling sensitive client data.

Deploy a compliant chatbot today

Privacy by Design built in. Law 25 and GDPR ready. Start your 14-day free trial.

View Plans