added if statement to show view for map
added google analytics
fixed facts controller validation error