Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
I need to whitelist the Google Analytics servers via IP Address. Any one know their server IPs?
-
Due to a walled garden situation, I need to input all the servers we should have access to via IP Address. We need to track the way our users are browsing within the garden, so I require all the IP addresses that Google Analytics would use. I tried googling it, but was not able to find any definitive answers.
Thank you in advance,
Heather
-
Indeed, if you want to whitelist a list of Google IPs, we'd be talking about a TON of IPs. To my knowledge, there doesn't seem to be a public list anywhere.
I'm afraid there is no good answer for your question.
Your best bet might be experimenting with an self-hosted Analytics package like Urchin.
-
Hi,
The reason we require the IP addresses is that we have all internet access completely shut down, so there is no way for our site to send out a call to Google Analytics each time a user loads the page unless the IP address of the google servers have been added to our whitelist, therefore allowing data out from our network to theirs.
I did a bunch of research after initially asking the question back in November and it apparently there are no specific IP ranges for just Google Analytics related servers (they are just part of the overall server farm). We would need to whitelist well over a 100,000 ip addresses based on the ranges I found.
Thank you,
Heather
-
Yes, I think we need this clarified as there are two things to be considered with Analytics - depending which method you want to use to verify your site you may need Googlebot to have access. There is another option in this case though - you could simply turn off the firewall, verify the site and then turn the firewall back on.
Of course Keri is quite right in that there is no need for crawlers to access the site for Analytics to work once verification has been completed as it uses javascript to send information from the browser.
The other question to be addressed though is "do you want any of the pages behind the firewall to be indexed?". If the answer is no, then the question will have been answered by the previous comments.
If the answer is yes, then you would need to whitelist the entire range to give googlebot(s) ongoing access.
Sha
-
Can you clarify if you're talking about Google Analytics, or about the google bot crawling the site itself?
-
I don't believe this is generally a problem, because traditionally googlebot doesn't use javascript that would trigger GA in the first place.
-
Hi Heather,
I think the closest you would get would be to run a Whois lookup for google.com, which will show you a series of IP address ranges that are associated with the domain.
While it will not give you the specific addresses for Analytics, it will also ensure that you are not blocking any of the various googlebots responsible for crawling, whatever job they do
Hope that helps,
Sha
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Strange landing page in Google Analytics
Hello MOZ Community, The website in question is https://x-y.com/ When i looked at the landing pages report in GA , x-y.com is appended at the end of every URL like this. https://x-y.com/x-y.com When i open the above URL in GA interface, it shows page not found. This is obvious as there is no such URL.
Reporting & Analytics | Dec 1, 2019, 5:05 AM | Johnroger
The metrics like sessions, Users, Bounce rate all look good. In the property settings, The default URL is written like this http:// cell-gate.com (Please note that s is missing in property settings). But how is traffic tracked correctly How do i solve this problem. What settings should we change to make the landing pages report look ok Thanks0 -
How to change domains in Google Analytics without losing the data
Hi there, We recently changed our domain from .COM to .NET so that all our subdomains from external pages matched. Right now in Google Console we have our new .NET website being tracked, but in GA we are still tracking .COM. It is also causing issues with MOZ crawling our site because of the .COM/.NET discrepancy. My question is what is the best way to change our Google Analytics from .COM to .NET without losing historical data and what considerations do we need to change before implementing this? Our team was concerned that just downloading the old data would be too vast and it we wouldn't be able to continue manipulating it dynamically in GA. Thanks!!
Reporting & Analytics | Mar 27, 2019, 6:45 PM | cPanel-LLC.0 -
% Change - Google analytics - how to calculate?
Hi All,
Reporting & Analytics | Jul 22, 2015, 11:23 AM | JohnPalmer
I have two dates with two different numbers I want to calculate the "% Change" like google analytics, The numbers of June 2015 - 127,931 sessions
The numbers of June 2014 - 90914 sessions please tell me what is the %Change. Best. J0 -
Why google stubbornly keeps indexing my http urls instead of the https ones?
I moved everything to https in November, but there are plenty of pages which are still indexed by google as http instead of https, and I am wondering why. Example: http://www.gomme-auto.it/pneumatici/barum correctly redirect permanently to https://www.gomme-auto.it/pneumatici/barum Nevertheless if you search for pneumatici barum: https://www.google.it/search?q=pneumatici+barum&oq=pneumatici+barum The third organic result listed is still http. Since we moved to https google crawler visited that page tens of time, last one two days ago. But doesn't seems to care to update the protocol in google index. Anyone knows why? My concern is when I use API like semrush and ahrefs I have to do it twice to try both http and https, for a total of around 65k urls I waste a lot of my quota.
Reporting & Analytics | Jan 29, 2015, 9:49 PM | max.favilli0 -
How does switching to HTTPS effect Google Analytics?
We are looking at making our site HTTPS. We have been using the same Google Analytics account for years and I like having the historical data. All of our pages will be the same, we are just going to redirect from the http to https. Does anything need to be done with Google Analytics? What about other addons such as Optimizely, Crazy Egg, or Share this?
Reporting & Analytics | Sep 16, 2014, 7:50 PM | EcommerceSite0 -
Why is Google Analytics showing index.php after every page URL?
Hi, My client's site has GA tracking code gathering correct data on the site, but the pages are listed in GA as having /index.php at the end of every URL, although this does not appear when you visit the site pages. Even if there is a redirect happening for site visitors, shouldn't GA be showing the pages as their redirect destination, i.e. the URL that visitors actually see? Could this discrepancy be adversely affecting my search performance? Example page: http://freshstarttax.com/innocent-spouse/ shows up in GA as http://freshstarttax.com/innocent-spouse/index.php thanks
Reporting & Analytics | Mar 27, 2014, 9:43 AM | JMagary0 -
No Social Sources in Google Analytics - what am I doing wrong?
Hello Everyone, I'm having a strange issue: I DO NOT have in my Google Analytics the "Social" tab under the Traffic Sources category. Look at the first image of this post: http://marketingland.com/google-analytics-social-reports-8138 How do you "get" that to show? Hope somebody has this issue and can help, Thanks a lot, Alex
Reporting & Analytics | Apr 5, 2012, 5:24 AM | pwpaneuro0 -
How do shortened links show up in Google Analytics?
Hey, How do shortened links show up in GA? So if I tweet about something and use bitly, does twitter get the referral? I am thinking not. I have never seen bitly show up as a referrer, but we gets lots of clicks from those links. Hmmmm. Anyone? E
Reporting & Analytics | May 24, 2011, 12:35 PM | ErinTM0