Monitoring third-party applications