WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just created an intranet site for the company that I work for. The IT department will not allow my site to access the internet for security reasons, but my boss still wants Google Analytics installed.

I usually just use Joost De Valk's GA plugin, but I don't think it will work since I don't have internet access.

Any ideas about installing GA without an internet connection?

share|improve this question
I think it is quite obvious this won't work. – woony Aug 24 '12 at 9:51
up vote 2 down vote accepted

Remember that GA runs client side in the browser and if your intranet visitors do not have access to GA servers via the internet then GA is not going to work for you.

With that said, Joost De Valk's GA plugin has a way to manually enter the UA code rather than using a connection to Google to pull available UA codes.

GA manual enter UA code

The method shown in the image above will work if the server has no internet access.

If your intranet users don't have internet access and because of this GA is not an option then you can look at using something like Piwik instead.

You can install Piwik on the intranet server and use WP-Piwik to bridge Piwik with WordPress

share|improve this answer
Wow awesome thanks Brady! So the users do have internet access on their machines. The only thing that doesn't have internet access is the part of the server that the WordPress site is hosted on. Do you think GA will run on that setup? – novicePrgrmr Aug 24 '12 at 11:34
I believe it should work that way, because what matters is client side, not server. – OriginalEXE Aug 24 '12 at 12:05

Your Answer


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.