Need the IP address of your visitors in Google Analytics Reports? Is it possible?

October 1st, 2006 admin Location: Raleigh, NC, Topic: Web Design | Digital Media

In short: YES YOU CAN! Even though Google has blocked the ability to gather IP information out of the box from your Google Analytics reports, you can resort to PHP to “introduce” them back. This is based on the fact that by using Google Analytics you shouldn’t be able to identify specific users and their behaviors. There is an easy way to still gather the IP’s if you don’t mind using also a little bit of php (Apache server is the best way to go). Use the following code in your body tag (I would use it only in the home-page.

Remember, this is using PHP:

First you need to insert a combination of php and javascript in your website. Also, you need to understand that you will be using the “__utmSetVar” Javascript tag. This tag will allow you to set the user-defined field in your G.A. interface. You can only set this value once. If you set it twice, it simply will overwrite your previous value.

Now before we continue, please take two minutes of your time to register and gain access to the solution, it is free by the way.

Protected Content
Register Now
You need to register (FREE) or if you have already registered, be logged in to see this part of the post. Please Login here. If you haven't registered, you may register using the form below:

Thank you for your interest in registering with Merkados' Intermarketing Digital Media Resources & Strategy Information. In order to access some of our premium content and downloads you are required to provide your personal name and valid e-mail account. This information is only used by Merkados to send occasional information about additional digital media products, services and resources that may benefit you. We will never sell or share your information with anybody - ever.

Platinum Member - 500 USD per 6 months - for 1 time
Platinum Member - Access all of our content - including Private Material.


| Lost your password

About the Author

Alex Centeno MBA., is an international creative director and digital media strategist. Currently residing minutes away from the Research Triangle Park (RTP) - North Carolina, and with over 10 years of interactive marketing training and experience, Alex leads Merkados' international clients to maximizing their online business strategies. One of Alex's biggest strengths is his world-class capacity to effectively combine interactive marketing, digital media design and web development.

You may find further information about Alex Centeno MBA. at: and Twitter.

Sobre el Autor

Alex Centeno MBA., Es un director creativo y estratega de medios digitales reconocido internacionalmente. En la actualidad reside a tan solo minutos del Research Triangle Park (RTP) - Carolina del Norte, y con más de 10 años de entrenamiento y experiencia en marketing interactivo, Alex lidera a los clientes internacionales de Merkados™ para maximizar sus estrategias de negocios en línea. Una de las mayores fortalezas de Alex es su capacidad global de combinar de manera efectiva, mercadeo interactivo, diseño de medios digitales y desarrollo web.

Para más información sobre Alex Centeno MBA. puede visitar: y Twitter.