Can you test google analytics on a localhost address?

This question remains valid today, however the technology has changed. The old Urchin tracker is deprecated and obsolete. The new asynchronous Google Analytics tracking code uses slightly different code to achieve the same results. Google Analytics Classic – Asynchronous Syntax – ga.js The current syntax for setting the tracking domain to none on google analytics … Read more

Addressing localhost from a VirtualBox virtual machine [closed]

Googling turned this up: http://data.agaric.com/localhost-from-virtualbox-xp-install-ubuntu It suggests using IP: http://10.0.2.2, and it worked for me. So, I edited the hosts file, C:\windows\system32\drivers\etc\hosts, and added this entry: 10.0.2.2 outer If you’re testing on IE8, remember to put http:// in the address bar. Just putting the ip directly will not work. For example: http://10.0.2.2:3000/

create a trusted self-signed SSL cert for localhost (for use with Express/Node)

The answers above were partial. I’ve spent so much time getting this working, it’s insane. Note to my future self, here is what you need to do: I’m working on Windows 10, with Chrome 65. Firefox is behaving nicely – just confirm localhost as a security exception and it will work. Chrome doesn’t: Step 1. … Read more