Last active
November 5, 2025 17:10
-
-
Save dexit/7ae372af947f19a6c3518eaca4490b33 to your computer and use it in GitHub Desktop.
Bypass Hubspot non-Hubspot form collection collectforms use with siteid. Ignore a specific non-Hubspot form from being collected I noticed that when you specify in HubSpot to collect info from non-HubSpot forms, it attempts to add the script collectedforms.js to your website. However, before doing so, it checks to see if it's already installed b…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript" id="CollectedForms-PORTALID" crossorigin="anonymous" data-leadin-portal-id="PORTALID" data-leadin-env="prod" data-loader="hs-scriptloader" data-hsjs-portal="139581107" data-hsjs-env="prod" data-hsjs-hublet="eu1"></script> | |
| <script>console.log('bypass loaded')</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <!-- PORTALID is the portal id of your Hubspot instance, and add this as the most top HEAD script to load as fast as pos. --> | |
| <script type="text/javascript" id="CollectedForms-PORTALID" crossorigin="anonymous" data-leadin-portal-id="PORTALID" data-leadin-env="prod" data-loader="hs-scriptloader" data-hsjs-portal="139581107" data-hsjs-env="prod" data-hsjs-hublet="eu1"></script> | |
| <script>console.log('bypass loaded')</script> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment