Added analytics

NOT capturing user data, just stats on success and fail.