By now you've heard about GDPR, the European Union's General Data Processing Rules. If not, you should check out this information (HubSpot's interpretation).
1. Start under Settings and look for Reports & Analytics Tracking
You may want to write your own policy. Go ahead. The editing field is essentially a Rich Text box with a button beside it.
4. Styling is limited but welcome. Use your branding colours or a default.
5. Save it. You're done.
Check it out
HubSpot's not alone when it comes to tracking visitors. Pretty much every online tool, platform and website does. Probably the largest tracker is Google. That "script" you installed; tracking.
You're all set. Happy tracking!
More Data and Privacy Links re: HubSpot
For your reference. GDPR Playbook
For your reference. For HubSpot Customers
For your reference. For Everyone
For your reference. DPA
For your reference. HubSpot Insights