Add segment.io analytics

The whole idea of segment.io is to configure what you send where. It may well be legitimate and helpful to track who logs on (unless our terms of reference promises we won't). Worth seeing what JohnH thinks before you take it out.