: Setting up Google Analytics for an intranet website I'm trying to set up Google Analytics on an intranet site that is not publicly accessible. I read the help page that states you have to
I'm trying to set up Google Analytics on an intranet site that is not publicly accessible.
I read the help page that states you have to use a FQDN name, so I tried using site.domain.local but it complains that the "URL ends with an invalid top-level domain name".
I can find examples on Google of people successfully using .local in the past, but those were mostly from posts a few years back (like this one). Is this still possible or is there another way to track a website without a public URL?
More posts by @Angela700
1 Comments
Sorted by latest first Latest Oldest Best
The way you have it setup right now will not work. Google Analytics JS code will not send the tracking hit (__utm.gif) to the GA servers.
There are a few options you might want to try:
Use an IP address instead of .local
Turn off domain hashing by setting _setDomainName("none")
The following is from Google Analytics help:
In order for Google Analytics to generate reports for your corporate
intranet usage, your corporate network must be able to reach the
Google Analytics JavaScript file (analytics.js). Try loading the file
in your browser using one of the following links:
www.google-analytics.com/analytics.js www.google-analytics.com/analytics.js
If you can reach one of these URLs from your internal network, you can
use Google Analytics to collect data from your intranet. Your intranet
must also be accessible through a fully qualified domain name such as
intranet.example.com. The Google Analytics JavaScript won't
work if your intranet can only be accessed using a domain name that
isn't fully qualified, such as intranet.
If all fails, consider using Piwik Analytics instead of Google Analytics.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.