Only include google analytics and social icons analytics if security = external.