Blog, Website & Page Publishing

ingrid1
Membro

Insert lead capture form directly in Hubspot blog post

resolver

I have a Hubspot blog and have created a lead capture form for gated content that I want to add in my blog post. I have tried to insert the form embed code into the blog post but I get an error message that reads: "There was a problem embedding your content. Please use a different URL or check the embed code." (it is the correct code).

 

It seems like this only works for external websites and not in Hubspot? How do I add a form directly to my blog post without changing my blog template? I don't want a lead capture form in all my blog posts. 

 

Any help?

 

 

0 Avaliação positiva
1 Solução aceita
David_HubSnacks
Solução
Colaborador(a) | Parceiro Elite
Colaborador(a) | Parceiro Elite

Insert lead capture form directly in Hubspot blog post

resolver

 

The only way you can do it without touching the templates is to go under Advanced then source code and add the embed code where you want it to appear. Using the Insert then Embed does not work. 

 

The more sophisticated way is explained well here:

https://community.hubspot.com/t5/CMS-Development/Embed-Form-in-Blog/td-p/21670

 

Warm regards,

David

Warm regards,
David
HubSnacks
Unlimited HubSpot Tasks For a Fixed Month Fee
www.hubsnacks.com
HubSpot Certified Diamond Solutions Partner

Exibir solução no post original

5 Respostas 5
CagatayKiyici
Participante

Insert lead capture form directly in Hubspot blog post

resolver

Hi Ingrid & David,

 

I think there was an update after this post.  Adding hubspot form  embed code from insert->embed menu now works fine. Now it is much easier to add the hubspot form. Thanks a lot who ever added this feature to product roadmap 🙂 

0 Avaliação positiva
David_HubSnacks
Colaborador(a) | Parceiro Elite
Colaborador(a) | Parceiro Elite

Insert lead capture form directly in Hubspot blog post

resolver

Hi Ingrid,

 

Can you show the blog post you are trying to insert the form?

 

 
David
 
HubSpot Certified Diamond Solutions Partner
See our latest independent 5-Star reviews here...

 

 

Warm regards,
David
HubSnacks
Unlimited HubSpot Tasks For a Fixed Month Fee
www.hubsnacks.com
HubSpot Certified Diamond Solutions Partner
0 Avaliação positiva
ingrid1
Membro

Insert lead capture form directly in Hubspot blog post

resolver

Hi David,

Thanks for your response. Here's a screenshot of our Hubspot blog editor. Our blog template is displayed on the left. 

Skjermbilde 2020-06-04 kl. 13.00.42.png

I'd like to insert a form directly into the blog post without changing our blog template. I've read that you can easily do this for external sites by inserting the embed code from the Hubspot form to your blog post. However, when I embed the code I get an error message. 

Skjermbilde 2020-06-04 kl. 13.07.29.png

Is there anything I can do to fix this? 

0 Avaliação positiva
David_HubSnacks
Solução
Colaborador(a) | Parceiro Elite
Colaborador(a) | Parceiro Elite

Insert lead capture form directly in Hubspot blog post

resolver

 

The only way you can do it without touching the templates is to go under Advanced then source code and add the embed code where you want it to appear. Using the Insert then Embed does not work. 

 

The more sophisticated way is explained well here:

https://community.hubspot.com/t5/CMS-Development/Embed-Form-in-Blog/td-p/21670

 

Warm regards,

David

Warm regards,
David
HubSnacks
Unlimited HubSpot Tasks For a Fixed Month Fee
www.hubsnacks.com
HubSpot Certified Diamond Solutions Partner
ingrid1
Membro

Insert lead capture form directly in Hubspot blog post

resolver

Thank you David! I managed to insert the form. 

0 Avaliação positiva