Much like embedding your Táve contact form into your website, you can also embed a public questionnaire. 

To do this, you'll use an iFrame code along with the embeddable URL for the public questionnaire. 

First let's grab the URL we'll need. Go to the Questionnaires section in the left menu then Public:

You'll be presented with a list of all of the questionnaires you've made public. There is a column that has the direct URL which is the public URL that you can give to anyone so they can fill out the questionnaire. 

If you've set up a Custom Domain, the direct URL will include your custom domain. If you haven't set up a custom domain, the URL will be something like: 

What's important to remember when embedding a Táve questionnaire is that you MUST use your secure domain. So if you have a custom domain set up, just swap out the domain part with your secure Táve domain like the example below. 

Additionally, you're going to add -inline to the end of your brand alias so that it removes everything but the questionnaire fields. 

<iframe id="publicquestionnaire" src="" width="100%" height="1400px" frameborder="0" scrolling="yes"></iframe>

Now that you've created the iframe code, you'll drop this code into your website. It's important to drop it into the HTML view or 'TEXT' view. 

If the iframe is too short or too long, simply adjust the height pixels to fit accordingly. 

Redirecting an Embedded Questionnaire

If you are redirecting your embedded contact form to a new URL, you'll need to add a specific script to your branding settings so that the redirect doesn't happen inside of the iFrame. To do this, simply go to Settings › Branding › Advanced Design Editor and then click on the Page Footer HTML tab. You'll then copy and paste the following code into the box: 

<script id="RedirectJS" src="" type="text/javascript"></script>

It should look like this:

Did this answer your question?