Install AnalyticsJS on a HubSpot website

Nolan Garrido Updated by Nolan Garrido

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.

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.

Paste the CaliberMind Form Submit Snippet in the Footer of the Site

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

How did we do?

Two ways to identify prospects that submit a form containing email address using AnalyticsJS

Using AnalyticsJS Identify on embedded Hubspot forms