How to add scripts
Go to Pages, select your page, then click Manage and navigate to Settings. Under Scripts, you can add one or more custom scripts.Script types
There are three placement options for scripts:- Head — The script is added to the
<head>of the page. Use this for tracking scripts that need to load before the page renders, such as the HubSpot tracking code or Google Tag Manager. - Body Start — The script is added at the start of the
<body>. Use this for scripts that need to load early but after the page structure has started rendering, such as the Google Tag Manager<noscript>fallback. - Body End — The script is added at the end of the
<body>. Use this for scripts that can load after the page content, such as chat widgets or other non-critical integrations.
Use cases
- Google Tag Manager — Add the GTM head and body start scripts to track conversions and events. See How to Track URL Clicks and How to Track Form Submissions.
- HubSpot cookie tracking — Add the HubSpot embed code as a head script to track visitor activity. See How to Integrate Leads into HubSpot.
- Custom scripts — Add any third-party integration scripts such as analytics tools, chat widgets, or remarketing pixels.

