Academy

HS-scripts embed code

Last updated: June 21, 2018

The hs-scripts embed code, identified by the URL js.hs-scripts.com, is the entry point for HubSpot embed codes and ensures that new HubSpot features like messages or lead flows are automatically added to your site.

The js.hs-scripts.com script doesn't do any analytics tracking by itself. Instead, it loads the other embed codes relevant to your HubSpot subscription on your site.

Site features such as lead flows and messages are delivered in this way, in addition to the existing analytics tracking. Since each of these features is delivered by a different script, ad and privacy blockers can block just trackers (like track.hubspot.com and js.hs-analytics.net) without affecting website features (like lead flows and messages).