WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress and Google Analytics are gone since i changed Design (4 posts)

  1. João Leitão
    Member
    Posted 5 years ago #

    WordPress and Google Analytics are gone since i changed Design. any thoughts about this please?

    I have plugin "Another WordPress Tracker Plugin" for google analytics, and "WordPress.com Stats" plugin for WordPress stats.

    i was changing site layout and after that both statistics are gone.

    I was trying to move place of that smile face, and i took this code

    <!-- <?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. -->

    smile face was gone... and then i put the code back to Footer but face never came back.

    also, I moved

    </body>
    </html>

    from the Header to Footer.

    could this be a reason?

    anything please? help. :S :)

    thank you

  2. Samuel B
    moderator
    Posted 5 years ago #

    upload fresh copies of your theme's header.php and footer.php

    before modding files - make a back up

  3. João Leitão
    Member
    Posted 5 years ago #

    thank you. that is a good ideia. i should have known better actually... :S

  4. João Leitão
    Member
    Posted 5 years ago #

    ok done!

    basically i just deleted <?php wp_footer(); ?> and this way neither wordpress stats nor google analytics could add their plugin since it is supposed to be located after this same code.

    easy.

Topic Closed

This topic has been closed to new replies.

About this Topic