BuilderIO / partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
https://partytown.builder.io
MIT License
12.85k stars 426 forks source link

Huspot integration not working #288

Open DevMentine opened 1 year ago

DevMentine commented 1 year ago
- [ ] I am interested in helping provide a fix! **Describe the bug** I adapted the example for Hubspot forms on my own site, but it doesn't work. **To Reproduce** Steps to reproduce the behavior: 1. Go to https://mentine-partytown.mentine.work/test-partytown/?partytown=true 2. See if the Hubspot form is shown (after "Hubspot Forms" red title) **Reproduction link** https://mentine-partytown.mentine.work/test-partytown/?partytown=true **Expected behavior** According to the example (https://github.com/BuilderIO/partytown/blob/main/tests/integrations/hubspot/forms.html), it should work. If I load the scripts with the classic attribute type="text/javascript" the form is visible, see: https://mentine-partytown.mentine.work/test-partytown/?partytown=false **Partytown version** 0.7.1 (inlined code) **Additional context** I also integrated the example for GTM, which apparently works but doesn't actually track events. The GTM debugger can't even connect to the site, with error: Could not connect to XXX. A timeout occurred while attempting to connect to XXX". Again, this works using the version with Parytown script type disabled (querystring parameter partytown=false). Thanks for all you do. Any help will be appreciated. Let me know if more details are needed.
DevMentine commented 1 year ago

I don't understand why I lost the formatting of the message, sorry.

robsongajunior commented 1 year ago

Did you have problem with hubspot forms or another?