WordPress.org

Forums

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

  1. letoutsidein
    Member
    Posted 1 year 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 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic