Embed code is not working on my Wordpress website | Community
Skip to main content
Answered

Embed code is not working on my Wordpress website


Hello
My client website is using WordPress. I installed typeform plugin then embed code on website
But it doesn't work. It shows current page of typeform

https://prnt.sc/16byq6o
Currently website is showing https://www.greenbox.co.uk/greenbox-quiz

What is issue now? 

Thanks

Best answer by mathio-tf

Hello @Henry P. 

I see the HTML embed code in your website is not correct. It is missing form id. If you can edit HTML of your website (or insert a HTML snippet) you can use this code:

<div data-tf-widget="jjoT8N"></div>
<script src="//embed.typeform.com/next/embed.js"></script>

Out of curiosity, how did you embed your typeform? Did you use our Wordpress plugin or did you insert the HTML snippet manually?

View original

10 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14862 replies
  • June 22, 2021

Hi @Henry P. Thanks for stopping by the community! Just to be on the safe side, has the form been published? 


  • Author
  • Explorer
  • 2 replies
  • June 22, 2021

Hi
Yes.. the form is published. You can view it here 

https://greenboxwellness.typeform.com/to/jjoT8N
I tried use plugin wordpress and tested on 2 website. it doesn't work for me
https://byhungpham.com/test/

what is need to do to make it work? please help me

 


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • June 23, 2021

Hello @Henry P. 

I see the HTML embed code in your website is not correct. It is missing form id. If you can edit HTML of your website (or insert a HTML snippet) you can use this code:

<div data-tf-widget="jjoT8N"></div>
<script src="//embed.typeform.com/next/embed.js"></script>

Out of curiosity, how did you embed your typeform? Did you use our Wordpress plugin or did you insert the HTML snippet manually?


  • Author
  • Explorer
  • 2 replies
  • June 23, 2021

Thanks.. I made it working now.


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14862 replies
  • June 23, 2021

Glad to hear it’s working, @Henry P. ! And thanks @mathio for the help. :grin: Let us know if there’s anything else we can help with!


  • Explorer
  • 4 replies
  • July 7, 2021

hi i can’t seen to figure this out. It’s not been working on my website


Forum|alt.badge.img+3
  • Typeform
  • 30 replies
  • July 8, 2021

Hi @Henry P.  I had a look at the website. I see that sometimes the embed loads and sometimes not, this might be caused by the fact that you are lazy loading the script. 

<script data-lazy-src="//embed.typeform.com/next/embed.js" data-lazy-method="interaction" data-lazy-attributes="src" src="//embed.typeform.com/next/embed.js"></script>

can you try removing the lazy loading part and see if it works correctly? 

@ysampat what is your website, can you post a link so we can have a look? Thanks


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14862 replies
  • July 8, 2021

@Antonio Thanks for sharing about the lazy loading - good to know that this can affect the embeds!


  • Navigating the Land
  • 1 reply
  • March 9, 2022

Hi. Trying to embed on my WP. Selected Full Page. But this is all that is visible on the page. Any ideas? Used full page embed code off of typeform: 

 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14862 replies
  • March 9, 2022

HI @kvplachy do you have other code on the page? If so, this will cause issues with the full page embed, and the only code on the page should be the typeform code. 


Reply