These instructions cover using Unity Analytics with Unity versions prior to 5.1. For using Analytics with Unity 5.1 see here.
To upgrade to 5.1 from previous versions see the Unity Analytics Upgrade Instructions.