WordPress.org

Ready to get started?Download WordPress

Forums

Analytics Issue (3 posts)

  1. turbohim
    Member
    Posted 6 years ago #

    <div id="footer"> <p> Copyright © <?php echo date("Y") ?> "><?php bloginfo('info'); ?>
    TFL Network, LLC </p></div><!-- footer --> </div><!-- wrapper --> </div><!-- outer -->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-XXXXXX-14");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script></body> </html>

    That is my footer. according to google, the code isnt installed right, whats wrong with it?

  2. xdesi
    Member
    Posted 6 years ago #

    Simply just paste the code given by analytics before the </body> tag on the footer.php file... on most templates this would be after the line <?php wp_footer(); ?>

  3. turbohim
    Member
    Posted 6 years ago #

    Which is what i did... but analytics never counted it as installed

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.