I had a similar problem, does your robots.txt file display like the following:
User-agent: * Disallow: /referrer/ Allow: /
If so check the robots.txt content type. (if you are using mozilla firefox right click and choose 'View page info' and the type of the file should be next to 'Type:'
My file was being read as text/html which doesn't work. It should be read as text/plain
Here's what I did to fix it..
If you do not already have a .htaccess file, make one in the public_html folder. (The same folder that your main index file goes into.)
And the file is named ".htaccess" there is nothing before the dot.
Inside that file add these lines..
This will make your robots.txt file be read by the php parser.
Now inside your robots.txt file add the following..
(robots.txt file goes underneath this. eg)
Hope this helped.
edit: Just did this for a new site I set up. The above is necessary for it to be read as text and interpreted as a robots.txt file but not sure if robots.txt will still work if the analytic code is still below it.
All I can say is that I went to members.000webhost.com/analytics.php and followed the instructions.
Make sure you type in your site's address without http:// or www.
For example: mysite.site11.net <-- that is all you should put in, obviously replacing it for your sites address..
Make sure the drop down option is on 'Disable analytics code', NOT enable.
And obviously make sure that your password is correct.
Maybe post your site's address here so others can have a look.
And if nothing here works, submit a support ticket.