An experiment with oauth2 and analytics