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