How do I select which version of jQuery is included across my pages?

Last updated: May 15, 2018

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A
Service: N/A

You have the ability to choose between jQuery 1.11.x or version 1.7.1.

This is especially useful if you've already built out your logic using dependencies from an older version of jQuery. Instead of rewriting your script to use updated functions and methods that may have replaced deprecated logic, you can select the 1.7.1 version.

If you choose to use the jQuery 1.11.x version, you can also choose to include a jQuery migrate script for backwards compatibility with older browsers. This script will be included in the <head> tag of your templates.

To choose the jQuery version that's included on your web pages:

  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • Scroll down to the jQuery Version section and select a version of jQuery in the dropdown menu.
Select jQuery version
  • Click Save at the bottom of the screen.
Select jQuery version

Was this article helpful?