add sharing and analytics