Move sentry/google analytics/csrf around between views and layouts