2

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?

1 Answer 1

1

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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