Install Hubspot Tracking Code

Hi WF Friends - I need advice on how to install the Hubspot tracking code on our WF site.

Any help is greatly appreciated!!!

M

Go into your dashboard
Select Settings (the Gear Icon) for the Project
Select Custom Code
We have our js code in the Head Code.

2 Likes

so we add the tracking code to the header custom code section?

yes.

We don’t use Hubspot anymore…
but we have our GA code is there.

1 Like

Very helpful!
Cheers - M

1 Like

Hi, for some reason this doesn’t work anymore. I just tried it and had to reach out to hubspot support, and they couldn’t figure it out either. Does anyone else know how to do this now or has anyone done it recently?? Maybe something changed since 2017?

2 Likes

hi @Summer_Cook , did you ever solve this?? I’m really curious because I am figuring this out right now :slight_smile: -Emilia

Hubspot side - Copy your HubSpot tracking code:
https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-code#copy-your-hubspot-tracking-code

Webflow side: Site setting > custom code tag > before body > paste (hubspot) code > save > Publish

Related:
https://university.webflow.com/lesson/custom-code-embed

Hi @mickb @ I hope you found a way to do this. This reply is also for those looking to integrate Hubspot in their Webflow site.

Once you make a HubSpot account, click settings in the main nav bar. From there, go to your ‘Tracking & Analytics settings’ and then head to Tracking Code. Copy this and paste it into the Head of your Webflow project.

I hope this helps :slight_smile: