Changed 404 url and added analytics code