when I said that I changed from xml to php is for the first line of code, as you said (<?php to <?xml)
What I don't understand is why importing a page which actually does not appear on my site (i.e. in the index or sitemap file) the IP's appear on GA...
I recommend to encrypt the user's IP address before sending it to Google Analytics, so their plain IP doesn't get stored on some Google server, which is a privacy problem in some countries such as Germany (Google introduced the anonymizeIP feature for that reason).
Hi I'm using google analytics on my blog I've tired with this it didn't work and i can find IP menu in custom variable . Did not make it. plese let me know..?