localhost

Sometimes you may need to develop custom tracking code for Google Analytics. If you sit in front of your development machine and the development or testing site you are using is localhost you will run into the problem that you don't see a tracking event firing to Google.

So you may ask you how to test the code without going into production? There are several options...