Google Analytics Code

How can i put the analytics code and any tracking codes on header of the front page?

Hi, to do it manually, go to Appearance > Editor choose header.php and past code just below body tag.

It is easier to do it wia plugin. For ex. Jetpack which contain feature site verification. Or search on