Include analytics correctly on subpages

Also include analytics as a partial instead of loaded EVERY time.