Turn on or off the consent form on your site

Consent Manager

Needed permissions: owner

When you use Consent Manager, the consent form automatically appears on your site with its default setup. In this article, we’ll show you where to change its settings and how to turn them off if you ever need to.

To turn on or off the consent form on your site, follow these steps:

  1. Go to Menu > Administration.
  2. Navigate to Websites & apps.
  3. On the left, pick a website or app you want to work with.
  4. In Settings, scroll until you see Privacy.
  5. Turn on or off Ask visitors for consent.
    Ask visitors for consent in Piwik PRO

    Note: You can edit the consent form by going to Consent Manager > Consent templates.

  6. Optionally, adjust other settings.
  7. In When visitors don’t consent, you can pick one option:
    • Collect data using a 30-minute cookie: You’ll use a 30-minute cookie to collect session data. You won’t recognize new and returning visitors. Visitors’ IP addresses will be fully masked.
    • Collect data without using cookies (beta): You won’t create or store any cookies on visitors’ browsers. Nothing will be stored on visitors` devices. You won’t recognize new and returning visitors. Visitors’ IP addresses won’t be masked, but you can mask them under Administration > Platform > Privacy settings.

    Note: Some triggers in Tag Manager create cookies to work correctly. If you use one of the following conditions in triggers, we’ll set a cookie:

    • Event condition > Traffic source
    • Event condition > Returning visitor
    • Event condition > Campaign
    • Event condition > External referrer 
    • Multiplicity > Fire tag once per session
    • Multiplicity > Fire tag multiple times per session, excluding first
    • Multiplicity > Fire tag once per page view

    Make sure that tags with those triggers are set with the right consent type.

    We also set essential cookies that store visitor’s consent decision. More about cookies.

    • Don’t collect data: The tracking code won’t be fired for visitors.
    Ask visitors for consent in Piwik PRO

    Note: We observed on our sites that only 25 to 75 percent of people give full consent. So you may want to collect non-sensitive data from visitors who don’t agree to data collection and usage.

  8.  Ask for consent in countries under the GDPR and UK GDPR: When turned on, your consent form will appear only when visitors are in countries under mentioned privacy laws. When turned off, it’ll appear for all visitors.
    Ask visitors for consent in Piwik PRO

    Note: We recognize the country based on the visitor’s IP address.

    The GDPR applies in: Austria, Belgium, Bulgaria, Croatia, Republic of Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Iceland, Liechtenstein, Norway, Switzerland.

    The UK GDPR applies in the UK.

  9.  You can change how long the consent is valid for. By default, it’s valid for 12 months.
    Ask visitors for consent in Piwik PRO

    Note: Consent is stored in a consent cookie. After the set time, the cookie expires and the form asks a visitor for consent again.

  10. You can share consent between subdomains. For example, if you have www.example.com and www.blog.example.com and track them under one site in Piwik PRO (you use the same container), you can share consent decisions between them.
    Ask visitors for consent in Piwik PRO
  11.  Optionally, you can use a custom form instead of those from Consent Manager. Before turning this on, set up your custom form.
    Ask visitors for consent in Piwik PRO
  12. When you’re done, click Save.
  13. Now your consent form is visible on your site. Remember to set the right consent type for each tag in Tag Manager.
    Consent types in Piwik PRO

Comparison of options

Here is a comparison that can help you decide which option to choose. Each setting uses different mechanisms for collecting data, recognizing visitors and their sessions. It also affects what data you will collect.

When visitors agree When visitors don’t agree
Cookies & device fingerprint 30-minute cookie No cookies Don’t collect data
Mechanisms used to collect data
First-party cookies (1) (2)
Local storage
Device fingerprint (3) (3)
Visitor’s IP address Yes / No (4)
Visitor ID
Collected data
Capture all traffic
New vs. returning visitors
Visitor’s session
Visitor’s location Country, city Country Country, city
Events
Traffic sources
Channel attribution Last-click, position-based, first-click, last-non-direct-click, time-decay, linear and custom models Last-click Last-click
Consent stats (5)
Privacy laws
Compliant with LGDP, PDPA, GDPR, UK GDPR/ PECR LGDP, PDPA, GDPR (6) LGDP, PDPA, GDPR (6) LGDP, PDPA, GDPR, UK GDPR/PECR, CCPA
  1. You’ll use a 30-minute cookie to collect session data.
  2. We’ll set essential cookies that store visitor’s consent decision. Also some triggers in Tag Manager set cookies to work correctly. Make sure that tags with those triggers are set with the right consent type.  
  3. We create a device fingerprint to recognize the visitor’s session. We use it only for 30 minutes.
  4. You can mask IP addresses for visitors under Administration > Platform > Privacy settings. The IP address informs about visitor’s location. Masking it can enhance visitors privacy because you won’t recognize their full location.
  5. You won’t collect any consent stats about people who don’t consent to analytics.  
  6. Check the cookie policy in your local guidelines. Each country can have their own policy.

Was this article helpful?

Technical support

If you still have some questions, visit our community.
There’s always someone ready to help!

Back to help center