APIs & Integrations

KClark9
Member

HubSpot form loads slowly in Nextjs

Hi,

 

I am building a website with Nextjs + Prismic and I embedded the HS contact form, but the form loads very slowly, and sometimes it doesn’t load at all. I would like your opinion and suggestions on how to solve this issue. Thank you in advance!

3 Replies 3
TeamcoreMK
Participant

HubSpot form loads slowly in Nextjs

Hi, the same thing is happening to me, I am using next.js 14

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

HubSpot form loads slowly in Nextjs

Hi, @KClark9 👋 Welcome to our community! 

 

Have you already tried reviewing the network requests in your browser's developer tools? It can provide insights into any delays or failures in loading the HubSpot form script. This can indicate whether the problem is network-related or due to the way the script is integrated into your Next.js application. Sharing any errors or warnings you find can help our community better understand the underlying issue.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
KClark9
Member

HubSpot form loads slowly in Nextjs

Thank you for the reply!

 

It looks like it took 25.86s to load the form, see the attached screenshot.Screenshot 2024-02-27 at 10.56.15 AM.png

0 Upvotes