G.Analytics changed position from to body to head

Magento from version 1.8 no more uses after_body_start
And of course Google require before </head> ends. https://support.google.com/analytics/answer/1008080?hl=en

maybe there should be better idea with check magento versions and returns different layout update