Analytics error handling

Reporting of submission success added