Google Analytics tracking code in version 9

  • Frank
    Frank
    Newbie 44 points
    April 11, 2019 at 2:15 pm

    Where do I put the Google Analytics tracking code in version 9. They say in the head area but I can’t find it.

  • JamesD
    JamesD
    Super Guru 1,719 points
    April 12, 2019 at 8:11 pm

    Hello Frank,
    Haven’t seen any other settings for google other than the Recaptcha info.
    If you’re comfortable adding code to your _functions.php file you can try adding something like this:

    function add_ganalytics() { ?>
    <script type="text/javascript">
    	PLACE_ANALYTICS_CODE_HERE	
    </script>
    <?php }
    add_action('wp_head', 'add_ganalytics');
Viewing 2 posts - 1 through 2 (of 2 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes