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

icon

Best answer by mathio 23 June 2021, 11:10

View original

10 replies

Userlevel 7
Badge +5

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

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



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

 

Userlevel 7
Badge +5

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?

Thanks.. I made it working now.

Userlevel 7
Badge +5

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!

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

Userlevel 3
Badge +3

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

Userlevel 7
Badge +5

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

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: 

 

Userlevel 7
Badge +5

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