tgs analytics repaired for end widget and analytics methods added