If your company is very large with hundreds or even thousands of employees and it is not possible for you to force every employee/vendor/stakeholder to use the 'Google Analytics Opt-out add on' (which is, by the way, the most efficient way to block internal Google Analytics traffic), then consider using IP based view filters to block internal traffic in Google Analytics.
But before we move forward with setting up and testing IPv6based view filter, let us take a quick recap of IP addresses.
Introduction to IPv6 vs IPv4 IP addresses
IPv6 (or Internet Protocol Version 6) is the protocol designed to replace the current IPv4 (or Internet Protocol Version 4). IPv6 protocol has been developed so that more users and devices can communicate with each other on the Internet.
You can create and assign more IP addresses by using IPv6 than by using IPv4. This is because IPv4 addresses are 32 bits long. Whereas IPv6 addresses are 128 bits long.
Following is an example of IPv4 based IP address:
172.24.213.0
Following is an example of IPv6 based IP address:
2a02:c7f:a82d:8d00:4551:b3c9:7387:8802
To determine both the IPv4 and IPv6 IP addresses of your computer, use this tool: https://test-ipv6.com/
Note: An IPv6 address assign to you can change any day any time, just like an IPv4 address.
Excluding internal traffic via Google Analytics IPv6 based view filters
In order to block internal traffic via Google Analytics IPv6 based filter follow the steps below:
Step-1: Determine your IPv6 based IP address from here: https://test-ipv6.com/ and make a note of it.
Step 2: Navigate to the 'admin' section of your main visit in Google Analytics and then click on the 'Filters' link under the 'View' column:
Step 3: Click on the 'Add Filter' button and then set up the new filter as shown belown:
Step 4: Once you have added your IPv6 address then click on the 'save' button.
Note: View filters can take some time to start working. So don't immediately start testing your filter. Wait 15-20 min before you start testing.
Link: https://www.optimizesmart.com/blocking-internal-traffic-via-ipv6-based-view-filter-google-analytics/