When I setup a Gogole Analytics code it says me put it within head tags. But when I want to link it with my AdSense account it says Be sure to leave the Google Analytics tracking code at the bottom of your pages.Also it says Paste this code [Google Analytics and Adsense integration code] at the top of any webpage in this domain that contains AdSense ads. Where? After  or after  after Analytics code?
How to use Google Analytics code and Adsense code?
google analytics;google adsense