Webmasters Stack Exchange is a question and answer site for pro webmasters. 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 use app_offline.htm for ASP.net v4.0 to temporarily shuts the site down with a check back soon message on that page. I still want to track this page for the number of visitors.

Just curious, does Google Analytics have any problem tracking app_offline page particularly? In other words, could this page be tracked as a normal page?

share|improve this question

Serving app_offline.htm with IIS will result in a 503 Service Unavailable error being returned. As with other "error" status codes, Google Analytics doesn't track these by default since as they indicate, an error was returned instead of a valid page or file.

By adding tracking code to this page and your server's error pages however, you can have Google Analytics track error pages. Here are two sources to help you do this:

Tracking Error 404 Pages and Broken Links in Google Analytics

How To Track 404 Errors in Google Analytics

share|improve this answer

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.