A website is personal data processing as soon as it collects an email address, a form or cookies. To be compliant in Morocco you need: legal notices, a privacy policy, information notices on forms, consent for non-essential cookies, a CNDP declaration (F211) and a framework for tools hosted outside Morocco (F118).
- Any site that collects personal data is concerned, even a showcase site with a form
- You need legal notices, a privacy policy and a notice on every form
- Audience-measurement cookies need consent, and refusing must be as easy as accepting
- The CNDP declaration is usually filed with form F211
- Tools hosted outside Morocco need a framework and sometimes a transfer request (F118)
01The eight points to check
| Point | Why | Example |
|---|---|---|
| Legal notices | Identify the publisher and host | Company name, address, contact, host |
| Privacy policy | Say what data, why, how long, to whom | A page reachable from every page |
| Information notices | Inform at the point of collection | Text under each form |
| Cookies and trackers | Get consent for non-essential ones | Banner with accept and refuse |
| CNDP declaration | Notify the processing before it starts | Form F211 on CNDP Forms |
| Tools outside Morocco | Frame foreign hosting and services | Analytics, newsletter, CRM: transfer F118 |
| Processors | A contract with every provider handling data | Host, agency, email tool |
| Security | Protect access and exchanges | HTTPS, updates, limited access |
02Cookies and consent
Strictly necessary cookies do not need consent. Others, such as audience measurement or advertising, need the visitor’s agreement, and refusing must be as simple as accepting. A good practice is to load measurement tools only after agreement, remember the choice and describe each tracker on a dedicated page.
16 simple questions. You get a personalised PDF report with your priorities by email. Free, no obligation.
03Declaring your website to the CNDP
Processing of data collected by a website usually falls under the standard declaration (F211), filed online on CNDP Forms. Filing is free. If the site collects sensitive data or a national ID number, a prior authorisation (F112) is needed.
04Hosting and tools outside Morocco
A site hosted abroad, or an email tool, CRM or statistics tool located outside Morocco, involves a data transfer. It needs a transfer request to the CNDP (F118) and a contract with the provider. If the provider is European or your visitors are, the GDPR may apply too.
05The ten-point checklist
- Legal notices are complete and up to date
- A privacy policy is reachable from every page
- Every form has an information notice
- An email address allows people to exercise their rights
- The cookie banner offers accept and refuse with equal weight
- Measurement tools load only after consent
- The site is on HTTPS and kept up to date
- The F211 declaration is filed and the receipt kept
- Tools outside Morocco are listed, with contract and F118 where needed
- The record of processing mentions the site and its tools
06Want us to handle it?
Our Compliant Website Pack, from 5,500 MAD, brings website compliance and legal texts (terms and legal notices) into one project. You can also start with the free website privacy check.
07Example information notice under a form
Each form must say who processes the data, why, for how long and how to exercise rights. Here is a template to adapt:
“The information collected through this form is processed by [company name] to answer your request. It is kept for [duration] and then deleted. You have rights of access, rectification and objection by writing to [email address]. For more information, see our privacy policy.”
08Cookies: categories and examples
A correct banner offers two buttons of equal weight, “Accept” and “Refuse”, and loads non-essential trackers only after agreement.
| Category | Example | Consent? |
|---|---|---|
| Strictly necessary | Basket, login session, security | No |
| Preferences | Chosen language, display | Usually yes |
| Audience measurement | Visit statistics | Yes |
| Advertising and social | Tracking pixels, share buttons that follow the visitor | Yes |
09Contact form: what to display
- Only strictly necessary fields: name, email, message
- A visible information notice before sending
- A consent box if you later send commercial messages
- A link to the privacy policy
- A precise retention period for messages received
10Online shop: extra points
- Terms of sale accessible before purchase
- Clear information on price, delivery and withdrawal rights under the applicable framework
- Payment through a secure provider, without storing card data
- Customer account with possible deletion
- Email marketing: clear consent and a simple unsubscribe
- Transfers: payment and delivery platforms hosted abroad to frame
A consultant scopes your situation, prepares the files and supports you to the result.
11The most frequent mistakes
- A cookie banner with only an “I accept” button
- A privacy policy copied from another site that does not match your practice
- Tracking tools loaded before any consent
- A site hosted abroad without a transfer request
- Incomplete or outdated legal notices
- A form collecting more fields than needed
The free guide for this page

A compliant website: policy, cookies, forms
Legal notice, privacy policy (template included), cookies and forms.
See all 12 free documents →Frequently asked questions
Must a showcase website be declared to the CNDP?
If it collects personal data, for example a contact form or statistics, yes: usually with form F211.
Do I need a cookie banner in Morocco?
As soon as you use non-essential trackers such as audience measurement or advertising, consent is expected, and mandatory if the GDPR applies to your European visitors.
Is Google Analytics allowed?
Yes, under conditions: prior consent, clear information and a framework for the transfer of data outside Morocco.
My site is hosted abroad. Is that a problem?
Not forbidden, but it is a transfer to frame: a contract with the host and an F118 request to the CNDP.
How much does compliance cost?
Our Compliant Website Pack starts from 5,500 MAD. The exact price depends on the size of the site and the tools used.
Is my WordPress site concerned?
Yes, whatever the tool. As soon as it collects data or sets cookies, it is concerned.
Do I need a privacy policy with just a contact form?
Yes. It must explain what you do with messages, how long you keep them and how to exercise rights.
Do plugins and widgets count?
Yes. A statistics plugin, a social media widget or an embedded map can set trackers or send data to a third party.
Keep reading
Compliant Website Pack
A consultant supports you, no obligation.
Take the free GDPR audit → Request a quote ↗ Free 30-min consultation ↗