How can you detect if a website uses HubSpot?
Detecting whether a website uses HubSpot can be accomplished by checking for specific markers in the source code.
Here’s a step-by-step guide to help you identify if a website is using HubSpot:
- Open the Page Source: Right-click on the webpage and select “View Page Source” or press
Ctrl+U
(Windows) orCmd+Option+U
(Mac) to open the page’s source code. - Look for the Generator Meta Tag: Use
Ctrl+F
(Windows) orCmd+F
(Mac) to search for the generator meta tag. Check for:<meta name="generator" content="HubSpot">
- Check for HubSpot JavaScript Files: Search for any references to HubSpot in the JavaScript files linked in the source code. For example, look for:
https://js.hsforms.net
https://cdn2.hubspot.net
- Look for HubSpot-Related CSS Classes: Check for CSS classes that may be unique to HubSpot. Use the search function to find:
hs-form
in the HTML structure.
- Check for HubSpot Tracking Code: Look for the HubSpot tracking code that is often found towards the end of the
<body>
tag. It typically includes:<script src="//js.hs-scripts.com/[YOUR-HUB-ID].js"></script>
- Inspect Form Fields: HubSpot forms will often include attributes related to HubSpot. Check if form fields or their IDs contain “hs” in their class or ID names.
- Check for HubSpot Cookies: Open the browser’s Developer Tools (F12), go to the Application tab, and look under Cookies. Search for cookies named
hubspotutk
or__hstc
. - Look for HubSpot Domain: Check the domain in the URL. HubSpot-hosted pages will typically have URLs containing the word
hubspot
. For example:example.com.hubspotpagebuilder.com
.