fixes bug 940560 - add optional analytics back into the webapp

@AdrianGaudebert or @lonnen r?