Forums

Monitoring Admin Pages w/ Google Analytics (1 post)

  1. lenwood
    Member
    Posted 2 years ago #

    Hi All,
    I monitor the performance of my site with Google Analytics. I decided to take a look at the traffic that my admin pages are getting as well (or attempts to hack). I'm posting this here for the benefit of all.

    I had to place the code in two places. For both files the code is placed immediately above the </body> tag.

    • /wp-login.php - to monitor attempts to access admin pages.
    • /wp-admin/admin-footer.php - to see the traffic that your admin pages receive.

    Note that these files will likely get over-written during your next version upgrade, so you'll need to place the code each time you update your site.

    Chris

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by lenwood
  • This topic is not a support question
  • WordPress version: 2.8