Do you want to add any code such as Google Analytics within head tag in your WordPress website or blog? You can easily add codes in the header of your WordPress website without editing the header.php file and by adding the same in the functions.php file of the theme.