-
I would like to implement a "Join Us" page on my eleventy site with a short survey. I tried something like the following, but the iframe gets rendered as empty. How can I embed a survey (e.g. Qualtrics, Google forms, etc.) into my eleventy site? Thank you for any advice.
PS: I have successfully embedded HubSpot forms by following these instructions, which use Javascript. So, my question might point in two different directions: (1) how can I get another form provider to generate javascript like HubSpot, or (2) how can I get eleventy to embed qualtrics or Google forms in the same way it can embed "everything else" (https://www.npmjs.com/package/eleventy-plugin-embed-everything)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I’m guessing you have an Ad blocker enabled on your browser. If that isn’t true, you might want to check to see if your site has a CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP (though this is unlikely if it’s just your local machine) Note also that the iframe Otherwise, Eleventy shouldn’t be doing anything to stop this code from working! |
Beta Was this translation helpful? Give feedback.
I’m guessing you have an Ad blocker enabled on your browser. If that isn’t true, you might want to check to see if your site has a CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP (though this is unlikely if it’s just your local machine)
Note also that the iframe
height
andwidth
attributes should be numbers:height="800" width="600"
Otherwise, Eleventy shouldn’t be doing anything to stop this code from working!