analytics update

Uses the new recommended settings  - auto instead of domain and moves it to the header instead of the footer.