Added offline mode and support visitor tracking (like Google Analytics)