permaculture playing cards*
The moose likes Other Open Source Projects and the fly likes Can We Track IP Adress of Any Visiter through Google Analytics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Can We Track IP Adress of Any Visiter through Google Analytics" Watch "Can We Track IP Adress of Any Visiter through Google Analytics" New topic
Author

Can We Track IP Adress of Any Visiter through Google Analytics

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 301
Hi List[],

Can Any one tell me , how to Track IP Adress through Google analytics.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42282
    
  64
GA itself no longer provides IP addresses, but you can add them using the user-defined variable created by calling "pageTracker._setVar" if your pages are created dynamically on the server. Here's a little writeup on using setVar. Instead of the "customers" or "Needs help" examples used in the article, you'd have to have dynamic server code (in PHP, JSP, ASP, or whatever) that inserts the IP address of the incoming request. Note that you can only use a single setVar value per visitor, so if you want to use it for something else then you're out of luck (although "trackEvent" could be used in that case).


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can We Track IP Adress of Any Visiter through Google Analytics