Add Google Analytics to Functions.php in WordPress

The following code will add Google analytics tracking code to your WordPress site’s header. Simply replace “UA-000000000-1” with your analytis UA tracking code and insert the snippet into functions.php.

Leave a Reply

Close Menu