Skip to content
WJunction - Webmaster Forum

Google Analytics Is Not Showing Correct Stats.

Status
Not open for further replies.
Hello All,
Google Analytics IS not Showing Correct Stats For Any Website In My Account :s Any One Know What Is The Problem With My Account when I Open Awstats I see 800 UV And 1K + Visitors And Google Analytics Showing 100-200 Visitors Daily.


----------------
<3 PA$$!oN
 

9 comments

Did you put the google analytics code in the header before the </head> tag?

Hahhaha this is your source mate:

PHP:
</head>     <body>      <script type="text/javascript">    var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-24955340-2']);   _gaq.push(['_trackPageview']);    (function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();  </script>
Should be this:

PHP:
<script type="text/javascript">    var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-24955340-2']);   _gaq.push(['_trackPageview']);    (function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();  </script> 
</head>     <body>

As said, put your analytics code before the </head> tag ;)

Cheers
 
Did you put the google analytics code in the header before the </head> tag?

Hahhaha this is your source mate:

PHP:
</head>     <body>      <script type="text/javascript">    var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-24955340-2']);   _gaq.push(['_trackPageview']);    (function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();  </script>
Should be this:

PHP:
<script type="text/javascript">    var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-24955340-2']);   _gaq.push(['_trackPageview']);    (function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();  </script> 
</head>     <body>
As said, put your analytics code before the </head> tag ;)

Cheers
added Before </head> let me see Result After 24 hours.

<3 PA$$!oN
 
Give it a day to update mate, check tomorrow, it should show some stats.
Also, wait 48h to see really FULL stats from the past day.

Cheers
 
Well I think the stats are still fine, because GA shows what really you get and awstats put every thing as your traffic like bots and spiders.
 
Status
Not open for further replies.

About the author

P
Active Member · Joined
FreeLancer! Website DEsigning + Making Money
951
Messages
52
Reactions
28
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom