NOT LOGGED IN
NOTE: You are commenting as an anonymous guest. Anonymous comments are held in a queue for moderation before they're made public, also all links are set with a
NO FOLLOW flag. If you'd like your comment to be public immediately, please
login or create an account (
no worries, it's free).
Olympus
Married
when I simply copied the code provided by Google Analytics, I did not have to save the page as .php; why should I do that now? Anyway, I do not know if the server I am using for my website supports this kind of files
The code that Google gives is Javascript, which is a language than all browsers understand by default. The code I provided in order to add the IP tracking is a different language (PHP). Browsers understand that too, but in order for the page itself to know how to handle the PHP code it just needs to be renamed from .html/.htm to .php. You'll see absolutely no difference in anything else by renaming it. Almost all servers these days support PHP, so chances are it'll work just fine. Give it a try, you've got nothing to lose.