Collect IP addresses from new volunteers to exclude from Google Analytics
- Dominant language
- JavaScript
- Stars
- 363
- Forks
- 872
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 18
Description
### Dependency
Launch homepage and revisit the practically
### Overview
We need to exclude the IP addresses of volunteers from Google Analytics to filter the traffic volunteers generate in visiting the website from normal users .
### Action Items
- [ ] Research a way to get the public ip address of a volunteer
- [ ] Most likely this will implement some API from a third party service like Cloudflare to get the IP
- [ ] We can have a button (or some kind of link) hidden in the website that will record the IP of a volunteer
- [ ] Store this data in our google admin drive
- [ ] Because of the nature of IP addresses, this information should be hidden and secured
- [ ] The initial ask was to gather the first three octets of the user's IP (i.e. 10.100.100.*); however, this will exclude the entire subnet, which means if a volunteer's public IP is in the same subnet of a potential valid user, then the valid user's data will be lost
- [ ] The data can be set to expire and be discarded in 180 days
- [ ] Upload this data as an excluded list into google analytics
- [ ] Most likely will need some kind of API from google
### Resources/Instructions
Contributor guide
Assessment
This issue has not been assessed yet.