How can I separate internal traffic from external traffic?

Analytics new

If you ever need to separate traffic from your office from all external traffic, you can use two segments in Piwik PRO. One segment will show visitors from your office based on IP addresses. The second segment will show the remaining traffic.

Note: These segments won’t work if we mask IP addresses.

Build a segment for internal traffic

To build a segment for internal traffic, follow these steps:

  1. Find your office’s IP address. For example, 178.43.222.111.
  2. Go to Menu > Analytics (new).
  3. Navigate to Settings.
  4. On the left, click Segments.
  5. Click Add new segment.
  6. Name the segment.
  7. In Visibility, set: Author or All users. The All users option lets you share this segment with other teammates.
  8. Mark All websites if you want to have this segment available on all websites.
  9. In segment conditions, add your office’s IP address. For example, IPv4 address equals 178.43.222.111.
    Segment conditions for internal traffic
  10. Click Create segment.

Build a segment for external traffic

To build a segment for external traffic, follow these steps:

  1. Find your office’s IP address. For example, 178.43.222.111.
  2. Go to Menu > Analytics (new).
  3. Navigate to Settings.
  4. On the left, click Segments.
  5. Click Add new segment.
  6. Name the segment.
  7. In Visibility, set: Author or All users. The All users option lets you share this segment with other teammates.
  8. Mark All websites if you want to have this segment available on all websites.
  9. In segment conditions, add your office’s IP address. For example, IPv4 address not equals 178.43.222.111.
  10. Click Create segment.

Compare segments in reports

To compare segments in reports, follow these steps:

  1. Go to Menu > Analytics (new).
  2. Navigate to Dashboards, Reports, Custom reports, Goals or Ecommerce.
  3. Pick the report you want to view.
  4. On the top, click All visitors.
  5. Choose the segment with internal traffic.
  6. On the top, click the + icon.
  7. Choose the segment with external traffic.
  8. View your report.
    A report with segments
Was this article helpful?

Be the first to rate this article.

Technical support

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

Related articles

Back to help center