AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
4.1K members online now
4.1K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Using the Analytics IP address for a whitelist?

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We need to use a firewall whitelist to enable our kiosk app to function over a 3G connection. For this we need to know the IP address(es) used for analytics from an Android app. Where can I get the addresses? Is this a realistic option? Is/are the addresses likely to change?

1 Expert replyverified_user

Re: Using the Analytics IP address for a whitelist?

Top Contributor
# 2
Top Contributor
Hi Leon,

Do you mean the IP address that you're using with your android app while accessing the Internet? You always can use services like [1] to view your current IP address. Surely, it might differ if you use Wi-Fi or mobile networks.

Christoph

[1] https://www.whatismyip.com

Re: Using the Analytics IP address for a whitelist?

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Christoph

No, I mean the address of Google's analytics server.

I have managed to identify two ip addresses from a packet sniffer but this doesn't answer the whole problem.

Leon

Re: Using the Analytics IP address for a whitelist?

Top Contributor
# 4
Top Contributor
Hi Leon,

Okay, I see. The Google Analytics server is www.google-analytics.com – that's IP 216.58.213.238 contained in the Google net range 216.58.192.0 - 216.58.223.255. So, you might include that range or even everything 216.58.* In your whitelist.

Christoph

Re: Using the Analytics IP address for a whitelist?

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
That's a huge range!

How do you know that it's their range?

Re: Using the Analytics IP address for a whitelist?

Top Contributor
# 6
Top Contributor
Public Whois information for IP 216.58.213.238 at IP registrar ARIN - see https://whois.arin.net/ui

Re: Using the Analytics IP address for a whitelist?

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭
So you retrieve 1 known IP address and then use it to identify all those against the same organisation?

I've also captured some other packets so it looks like that have some other ranges:

https://whois.arin.net/rest/net/NET-74-125-0-0-1/pft?s=74.125.133.188

https://whois.arin.net/rest/net/NET-64-233-160-0-1/pft?s=64.233.166.188

They probably have others too. My concern is that even if we can whitelist an entire range that still may not be enough as it may not be all the ranges they use. In this case however only those within the range you highlighted were to ssl.google-analytics.com so perhaps that's the way to go.

Re: Using the Analytics IP address for a whitelist?

Top Contributor
# 8
Top Contributor
You're right, Leon, there is the SSL host from another IP range - so things are more complicated ...