Google Analytics problem in my WordPress based Website

I am trying to create a Google Analytics for this website

and this is the index.php for that site.

The text in italics is what I added to the code
include (“analyticsTracking.php”);
define(‘WP_USE_THEMES’, true);
/** Loads the WordPress Environment and Template */
$my_string = “<font color=\”red\”> <a href=\”\”> Login </a> </font> “;
echo $my_string;

And the include file code  is :

<script type=”text/javascript”>
var gaJsHost = ((“https:” == document.location.protocol) ? “https://ssl.&#8221; : “;);
document.write(unescape(“%3Cscript src='” + gaJsHost + “’ type=’text/javascript’%3E%3C/script%3E”));
<script type=”text/javascript”>
var pageTracker = _gat._getTracker(“UA-XXXXXX-X”);
</script> <?php
// End Analytics tracking code

and I am getting this status on my Google analytics page..the status means the analytics is not receiving the Tracking DATA


EDIT : The code which I entered was correct and the issue got resolved automatically after a day 🙂 and the data is getting tracked now.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s