Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We operate a firewall which blocks all internet access for users on our company network. However we would like our intranet to track users with Google Analytics.

How can we open up our firewalls to only allow access to googleanalytics.com ?

I have searched Google extensively and it seems Google do not provide an IP range which we could use in our firewall config.

How can we white-list googleanalytics.com ?

share|improve this question

migrated from stackoverflow.com Jun 23 '11 at 10:18

This question came from our site for professional and enthusiast programmers.

2  
and the firewall is ? –  Synxmax Jun 23 '11 at 7:31
    
or security.stackexchange.com ..? –  sdolgy Jun 23 '11 at 7:35
add comment

2 Answers

up vote 7 down vote accepted

As far as I am aware, it is normal HTTP / HTTPS traffic to the following URL's that is required:

https://ssl.google-analytics.com/__utm.gif
http://www.google-analytics.com/__utm.gif

and

http://www.google-analytics.com/ga.js

So, port 80 for HTTP, port 443 for HTTPS and the site(s):

ssl.google-analytics.com
www.google-analytics.com
share|improve this answer
    
you also need ssl.google-analytics.com/ga.js –  Open SEO Jun 23 '11 at 10:04
    
Doesnt mark mean that he wants his client to be able to surf to google.com/analytics? –  3molo Jun 23 '11 at 12:03
add comment

This documentation from google answers your question.
https://support.google.com/analytics/answer/1009688?hl=en-GB

share|improve this answer
2  
Welcome to Server Fault! We really do prefer that answers have content, not pointers to content. This may theoretically answer the question however, it would be preferable to include the essential parts of the answer here, and provide the link for reference. This post will be removed if not improved. Thank you! –  Chris S Jun 25 at 20:22
    
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  dawud Jun 25 at 21:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.