How can I separate anonymous traffic from known traffic?

When you collect some data from visitors who don’t consent using a 30-minute cookie, you’ll see their data mixed with data from other visitors. In this article, we’ll show you how to keep that data apart.

To create a segment for anonymous traffic, follow these steps:

  1. Go to Menu > Analytics.
  2. At the top of any open tab like Dashboards, Reports, Custom reports, Goals, or Ecommerce, you will find segments. Click the + button.
    Audience overview report in Piwik PRO
  3. Click Manage segments.
  4. Click Add new segment.
  5. Name the segment, for example, No-consent traffic.
  6. In Visibility, set: Author or All users. The All users option lets you share this segment with other teammates.
  7. Set the following condition: IPv4 address equals 0.0.0.0.
    Audience overview report in Piwik PRO

    Note: If Collect data using a 30-minute cookie is turned on, visitors’ IP addresses are fully masked. This is how they look in reports: 0.0.0.0. This is why you can use this condition to filter out non-consent traffic.

  8. Click Create segment.

To create a segment for known traffic, follow these steps:

  1. Go to Menu > Analytics.
  2. At the top of any open tab like Dashboards, Reports, Custom Reports, Goals, or Ecommerce, you will find segments. Click the + button.
  3. Click Manage segments.
  4. Click Add new segment.
  5. Name the segment, for example, Consent traffic.
  6. In Visibility, set: Author or All users. The All users option lets you share this segment with other teammates.
  7. Set the following condition: IPv4 address not equals 0.0.0.0.
    Audience overview report in Piwik PRO

    Note: If Collect data using a 30-minute cookie is turned on, visitors’ IP addresses are fully masked. This is how they look in reports: 0.0.0.0. This is why you can use this condition to filter out non-consent traffic.

  8. Click Create segment.

Compare both traffics

After creating segments, you will be able to apply them to your dashboards, core reports, and custom reports. Here’s an example of a comparison of both traffics.

Compared segments in Piwik PRO

Note: We’ve observed that when a business uses a consent form on the website, about 25 to 75 percent of visitors don’t agree to tracking or don’t make a consent decision.

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