In your website settings, you can enable jQuery to be loaded across your HubSpot pages. You can also specify which version of jQuery to run across your HubSpot-hosted content, and where it should be included on the page.
Please note:
As February 28, 2021, HubSpot will not be adding new versions of jQuery to site settings. HubSpot-hosted versions of jQuery will continue to work for customers who have it enabled. However, HubSpot strongly recommends managing your own jQuery for enhanced security and performance. Learn more about updating to the latest version of jQuery.
Please note: settings for individual subdomains will override default settings for all domains.
If jQuery is included, the jQuery library will be loaded in the head HTML of your pages by default. If you want to include it on your page footer instead, select the Load HubSpot's included jQuery library from your footer checkbox.
Before making this change, make sure that all jQuery dependencies have been moved to the footer as well. To test how your pages load with jQuery in the footer, append this query string to the end of your page URL:
?hsMoveJQueryToFooter=True
Please note: it's recommended to consult with your web developer before moving jQuery to the footer of your pages. If you have additional questions, connect with HubSpot designers on the Community.