Iubenda logo
Start generating


Table of Contents

How to add Matomo clauses to iubenda’s Privacy and Cookie Policy

Whether you’ve already generated your privacy policy or are just getting started, we’ve got the help, guides, and examples you need to get fully set up and successfully integrate your privacy policy onto your Matomo site.

→ Already generated your privacy policy? Jump to How to add Matomo clauses on your privacy and cookie policy

Yes, you do, and here’s why:

Under most countries’ laws, you are legally required to have a valid privacy policy in place to inform users about your data processing activities and how you use their data.

Failing to do so can result in significant penalties, the legal invalidation of the data you’ve collected (for example, email contact list), and harm your website’s reputation.

Furthermore, third parties like Matomo explicitly require you to have a privacy policy in place in line with applicable law. Failure to do so can put you in breach of their terms.

When figuring out which essential services to add to your Policy, remember that your privacy policy should be individual to your particular needs and should contain, at the very least:

  • What personal data do my site process, and the reasons why? (Remember IP addresses can be considered personal data).
  • Do I share the data with third parties? This data can include everything from social widgets to payment processors (not sure what services you use? try our site scanner, and it’s free!)
  • What rights do your users have in regards to their data?
Here’s an example of what a privacy policy could look like:

Privacy Policy

You can quickly generate a privacy policy with iubenda. This video will show you just how quick and easy it is to generate a Privacy and Cookie Policy with iubenda.


Try it out with our free plan today!

How to add Matomo clauses to iubenda’s Privacy and Cookie Policy

Once you’ve generated your Privacy and Cookie Policy with iubenda, follow our three-step guide below! 

  1. Add Matomo to your iubenda privacy policy
  2. Adding the opt-out link to the Matomo clause
  3. Language modifications

Add Matomo to your iubenda privacy policy

First, add “Matomo” to your privacy policy from the selection of services provided in your iubenda dashboard.

To do this, click on Add service within your privacy and cookie policy generator.

How to add Matomo clauses to iubenda's Privacy and Cookie Policy

Then, using the search bar provided, type Matomo then add it to your policy. 

You can always use our scanner by clicking the Scan website and auto-detect services bar at the top of the page.

How to add Matomo clauses to iubenda's Privacy and Cookie Policy

You’ve successfully added Matomo to your policy! 

Adding the opt-out link to the Matomo clause

Several legislations and corresponding practices require the Matomo opt-out link; among them is France’s DPA (CNIL).

If you want to add your opt-out link, you need to link to the opt-out on another page of your site, but clearly describe the process needed to do so. It’s paramount that this process isn’t perceived as a way to circumvent or hide the opt-out link. Follow the steps below to add the opt-out link to your iubenda privacy policy. 

1. Find your Matomo iframe opt-out code.

Your Matomo opt-out iframe can be found in your Matomo installation under Settings icon > Privacy > Users opt-out

<iframe frameborder="no" width="600px" height="200px" src="https://example.com/index.php?module=CoreAdminHome&action=optOut&language=en"></iframe>

This code needs to be placed on a new page on your site, which you will link to from your iubenda privacy policy. Name the page whatever you like, but ideally, it will be the only thing present.

2. Add a custom service with the necessary disclosures

In this step, it is important to make clear what this section helps the user to accomplish. 

Therefore use a title similar to “How to: User opt-out of Matomo Web Analytics”. 

Next, you’ll want to describe what the users need to know in the service/clause. See an example of this below:

How to: User opt-out of Matomo Web Analytics

The User may opt out of the tracking done via Matomo Analytics by following the link below and then clicking the opt-out option on the presented page. Please note that the opt-out works by applying a cookie to the User’s browser, which signals to Matomo not to register the particular User. 

This means that the User needs to opt out again when visiting this site in another browser or another device.

<a href=”{YOUR LINK HERE}”>Opt out of Matomo Analytics on this page</a>

Please follow the final step below if your website and privacy policy are provided in languages other than English. 

Language modifications 

Adding the iframe provided in the Matomo admin will automatically provide you with the English copy. 

Here is a preview of the copy: 

“You may choose to prevent this website from aggregating and analyzing the actions you take here. Doing so will protect your privacy but will also prevent the owner from learning from your actions and creating a better experience for you and other users.”

“You are not opted out. Uncheck this box to opt-out.”

The Opt-out will appear on your website as shown below:

How to add Matomo clauses to iubenda's Privacy and Cookie Policy

This text must be properly and clearly translated into your site’s and privacy policies language. 

If the language of your website is one of the 57 languages supported by Matomo and its translation has a high completion percentage, the copy may already have been translated. 

For languages with a high completion percentage, like French (99%) and German (100%), you just need to replace the language code in the iframe src URL. 


💡Not sure what privacy documents you need for your Matomo site? Do this quick quiz to see which laws apply to you and your business. 

See also: