Yoast: Reading about google's bug bounty program; I'm curious whether a patch bounty program for my #WordPress plugins would work... ReTweet Reply

Manual placement of the tracking code

Version 4.0 of Google Analytics for WordPress introduced the new asynchronous tracking code. This tracking code works best when it's placed in the <head> section of the site. When you want to place it in a different spot though, you're very welcome to do so, using the following snippet:

&lt;?php
if ( function_exists( 'yoast_analytics' ) ) {
  yoast_analytics();
}
?&gt;

After you've done this, go into your Google Analytics for WordPress settings, and set Tracking code location to "manual".

Subscribe to the RSS feed or to weekly email updates, right now!