Exclude my traffic in Google Analytics (ip from cloudflare on server logs)

Hi every one,

Here Vince from Spain. Google Analytics let me filter traffic by ip, i need this to exclude my visits from my home, mobile, etc. to have clean data stats. I see the server logs, the IPs are always from Cloudflare, there is no static ip, so, if i use Cloudflare in my site, is it imposible to filter traffic by IP?.

Best regads,
Vince.

Google Analytics is browser-based. It is getting IP addresses from the browsers themselves – not the server.

As for the server logs, you can restore Visitor IP address if you control the server configuration:
https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs

1 Like