Don't clear log.
Adding enable analytics and adding success/fail cb
Adding cb