WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
Google Universal Analytics - Tracking Not Installed (2 posts)

  1. letoutsidein
    Member
    Posted 4 months ago #

    My website is letoutsidein.com. I followed the code snippet by nikeo, and cannot seem to get tracking installed. Here is the code, placed in a functions.php child theme:

    `<?php
    add_action('wp_head','my_analytics',1,20);

    function my_analytics() {
    ?>

    /* GA Tracking Code Insert Here*/

    <?php
    }
    ?>`

  2. nikeo
    Member
    Theme Author

    Posted 4 months ago #

    Hi, a plugin like WordPress SEO is doing that very well and easily. You might want to try it!

Reply

You must log in to post.

About this Theme

About this Topic