InMotion Hosting Support Center

Many organizations - including WordPress and us - have updated privacy policies to comply with General Data Protection Regulation (GDPR). As Matomo has many features to assist with GDPR compliance and anonymize tracked data, we cover how to set Matomo to display an opt-out notification verifying the user's activity isn't being tracked with Do Not Track enabled.

Customize Opt-out Notification

  1. Log into Matomo.
  2. Select the Settings icon in the upper-right corner.
  3. Select Users Opt-out on the left.
  4. Customize text and background of the opt-out iframe message you'll add to your website. For example:
    <iframe style="border: 0; height: 200px; width: 600px;" 
        src="https://example.com/analytics/index.php?module=CoreAdminHome&action=optOut&language=en&backgroundColor=&fontColor=&fontSize=&fontFamily=">
        </iframe>

    Edit opt-out notification
  5. Paste the HTML code into your website using a file editor or your website backend. The footer section is an optimal location.
  6. Visiting your website with Do Not Track enabled will show the following on your website:
    You are not being tracked since your browser is reporting that you do not want to. This is a setting of your browser so you won't be able to opt-in until you disable the 'Do Not Track' feature.

    You can disable Do Not Track support at the bottom as well.

You can read more about improving your web analytics in our Matomo Analytics Education center.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!