move google analytics partial to layouts and fix partial location error