Can you use Google Analytics with an intranet? [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
开发者_如何学Go Improve this questionCan you use Google Analytics with an intranet? I'm using Liferay as my intranet.
When setting up GA, you need to specify the Default URL starting with . What would I specify in there if my intranet can be accessed by http://cs22web or by ip address?
A quick google of your question has led me to this page:
How do I run Google Analytics on my intranet?
Quote:
In order for Google Analytics to populate reports for your intranet usage, your corporate network needs to reach the ga.js JavaScript at
http://www.google-analytics.com/ga.js
http://www.google-analytics.com/__utm.gif
https://ssl.google-analytics.com/ga.js
https://ssl.google-analytics.com/__utm.gif
If you can reach the above URL using your network's internet connection, you have satisfied the first requirement. Additionally, your intranet must be accessed using a fully qualified domain name (FQDN) such as http://intranet.example.com. The ga.js JavaScript will not work if your intranet is accessed using a non-FQDN (such as http://intranet).
I hope that helps!
精彩评论