diff --git a/src/start.js b/src/start.js
index a9b11c56ba..53893d44b8 100644
--- a/src/start.js
+++ b/src/start.js
@@ -146,6 +146,10 @@ function shutdown(code) {
 		},
 		function (next) {
 			winston.info('[app] Web server closed to connections.');
+			require('./analytics').writeData(next);
+		},
+		function (next) {
+			winston.info('[app] Live analytics saved.');
 			require('./database').close(next);
 		},
 	], function (err) {