Forums

Monitoring Admin Pages w/ Google Analytics (1 post)

  1. lenwood
    Member
    Posted 3 months 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

Reply

You must log in to post.

About this Topic

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