redirect and google analytics

Google Analytics keep showing --> "Tracking Not Installed" and I am wondering if my setup is correct:

my root ==> /var/data/public
Joomla  ==> /var/data/public/home

Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location:" );

I added Google Analytics Javascript code to ==> /var/data/public/home/templates/ja_purity/index.php

My .htaccess:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^myweb\.org$ [NC]
RewriteRule ^(.*)$ http://myweb/$1 [R=301,L]

RewriteEngine On
RewriteCond %{HTTP_HOST} ^$ [OR]
RewriteCond %{HTTP_HOST} ^$
RewriteRule ^mail$ "http\:\/\/mail\.google\.com\/a\/myweb\.org" [R=301,L]
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

where did you add the google analytics code? Is it within the body tag of var/data/public/home/templates/ja_purity/index.php
(and I am assumign you are usign the ja_purity template)
Also - it can take a day or so  for tracking to show up - so Tracking Not Installed" can show up ahsortly after installation - also show us teh tracking code......?
phpmysqlcoderAuthor Commented:
Yes, I am using ja_purity template. Its been more than 3 days since I installed GA


<!-- END: FOOTER -->


<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E"));
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-00000-0");
} catch(err) {}</script>

10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

When you visit your page in a browser and 'view source' can you find/see your GA tracking code?
phpmysqlcoderAuthor Commented:
I do, I also see some statistics from GA, however, it still shows "Tracking Not Installed". I am wondering if it has something to do with the redirect.
According to Google

"Check Status is not completely compatible with all websites, but rest assured that the status does not affect data collection and we are still gathering data for your account."


Also, make sure under  Analytics Settings > Profile Settings > Edit Profile Information > Website URL:

that you included the http://

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
phpmysqlcoderAuthor Commented:
redirect issue is not fully addressed
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.