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:
- Find your office’s IP address. For example,
178.43.222.111
. - Go to Menu > Analytics.
- Navigate to Settings.
- On the left, click Segments.
- Click Add new segment.
- Name the segment.
- In Visibility, choose Author or All users. All users lets you share this dashboard with your teammates.
- Mark All websites if you want to have this segment available on all websites.
- In segment conditions, add your office’s IP address. For example,
IPv4 address equals 178.43.222.111
.
- Click Create segment.
Build a segment for external traffic
To build a segment for external traffic, follow these steps:
- Find your office’s IP address. For example,
178.43.222.111
. - Go to Menu > Analytics.
- Navigate to Settings.
- On the left, click Segments.
- Click Add new segment.
- Name the segment.
- In Visibility, choose Author or All users. All users lets you share this dashboard with your teammates.
- Mark All websites if you want to have this segment available on all websites.
- In segment conditions, add your office’s IP address. For example,
IPv4 address not equals 178.43.222.111
.
- Click Create segment.
Compare segments in reports
To compare segments in reports, follow these steps:
- Go to Menu > Analytics.
- Navigate to Dashboards, Reports, Custom reports, Goals or Ecommerce.
- Pick the report you want to view.
- On the top, click All visitors.
- Choose the segment with internal traffic.
- On the top, click the + icon.
- Choose the segment with external traffic.
- View your report.