Get the code snippet from CaliberMind
Follow the instructions here to setup your code snippets.
Paste the primary code snippet into the head of the site
Take the primary code snippet provided to you by your customer success manager and paste it into the head of the site.
Not sure how to do that in HubSpot? Check out their extensive documentation on the topic.
Paste the form submit snippet in the footer of the site (optional)
Take the code snippet above and paste it into the footer of the site.
Note that if you have multiple HubSpot websites hosted on multiple domains, and you already have code in the configuration for a specific domain, the global configuration will not be inherited by the specific domain. You'll need to paste the code into each specific head / footer.

Using embedded HubSpot forms? Read our knowledgebase article about using AnalyticsJS with embedded HubSpot forms.