Google Analytics on localhost

To test the new Google Analytics code on your localhost is to set “cookieDomain” to “none” when you create it.

ga('create', 'UA-XXXX-Y', {
	'cookieDomain': 'none'
});