Login


Why Google Analytics is Not Working


vote up 0 vote down
star
Expert5 @ on July 10, 2009, 4:35
Why Google Analytics is Not Working on a wordpress blog ?

Expert5



All Answers


vote up 0 vote down
Expert5 @ on July 11, 2009, 6:40

  1. Check that the plugin for Google analytics is installed and Activated.
  2. Make sure that you have the right Google Analytics ID under your website Settings.
  3. If still, then it must be a problem with your theme, where you have three options

    1. Change the theme.
    2. Embed the Google analytics provided by google manually into the footer.php of your theme
    3. Or. Open your header.php file inside the theme folder, Insert the following line, just before the </head> so that it would like :
      
      <?php wp_head(); ?>
      
      </head>
      



vote up 0 vote down
Ask.WPD @ on July 15, 2009, 3:55
You should also make sure that you are not logged into wp-admin.
The analytics plugin has a security feature that removes the code from your page when you are working on it in wp-admin.

This prevents the plugin from accidentally tracking the webmaster's visits.

vote up 0 vote down
Jeffrey @ on July 22, 2009, 12:31
Google Analytics sometimes takes a little while to set itself up and register that you've installed it. Please confirm that you have had Analytics installed for more than 24 hours. Please also confirm that Analytics is not already collecting data. Sometimes it takes a little longer for the error message to disappear after Google Analytics is already working.