Skip to content

Connect

Share and embed

Publish a form and it gets a page of its own on Formpik: a link you can send to anyone, post anywhere or print, and a form you can embed on any website, inline or as a popup. No website of your own needed.

On this page you will learn

  • How to publish a form and get its share link
  • How to choose the link address, and keep the form out of search results
  • How to fill in answers from the link
  • How to embed the form inline, as a popup or in an iframe
  • Where the answers go, and what protects the page

Publish a form

  1. 01

    Open the Share tab

    Open the form and pick Share, or Publish in the top bar.
  2. 02

    Publish it

    Click Publish form. The link reads like the form's name when no other form has it, such as https://formpik.com/f/quote-request, and a short random one otherwise.
  3. 03

    Share the link

    Copy it, open the page, or email it. Anyone with the link can fill in the form, and every answer runs through your flows like any other submission.
  4. 04

    Style it

    Pick light or dark, the accent color, the corners and the button text under Style. The preview next to it shows the page as visitors see it.

The link address

The part after /f/ is the form's slug: 3 to 60 lowercase letters, numbers and dashes, starting and ending with a letter or number, and unique across Formpik. Change it under Link address in the Share tab.

  • Changing the slug stops the old link from working. Embeds keep working, because they use the form's id: /f/frm_q8w2e4r6t1 always opens the published form too.
  • Let search engines list the page is off by default, so only people with the link find it. Turn it on for a form meant to be found, such as a public signup.
  • The page carries the form's name and description in its title and link preview, so a shared link reads well in chats and social posts.

Fill in answers from the link

Add answers to the link with the field keys, and the form opens with them filled in. It is how you pass along what you already know, or tag where people came from with a hidden field.

Link
https://formpik.com/f/quote-request?email=jane@example.com&plan=pro&campaign=spring
  • Any field that collects an answer can be filled in, hidden fields included. File fields never are.
  • Several choices for a multiple choice or multi-select field go comma separated, such as topics=billing,support.
  • Visitors can still change what was filled in before they send it, except hidden fields, which they do not see.

Embed it on a website

The Share tab gives you the code for a published form. Paste it where the form should show, in an Embed or Custom code block of your site builder or straight into the HTML. The script is the same for every form, so a page with several forms needs it once.

html
<div data-formpik-form="frm_q8w2e4r6t1"></div>
<script src="https://formpik.com/embed.js" async></script>
EmbedWhat visitors seeUse it when
InlineThe form where the code sits, growing and shrinking with its content.The form is part of the page, such as a contact section.
PopupThe form over the page when they click the button, closed with the close button, Escape or a click outside.The form should wait for a call to action, such as Get a quote.
IframeThe form in a frame of fixed height.Your site builder does not run scripts. Give the frame enough height for the whole form.

The popup works on any element, not only buttons: add data-formpik-popup="frm_q8w2e4r6t1" to a link or an image and change the text as you like. Embeds draw the form in a frame, so your website's styles never change it and its styles never leak into your page.

Options and events

  • data-formpik-params="email=jane@example.com&plan=pro" fills in answers, the same way as the link.
  • data-formpik-title names the frame for screen readers. The form's name is used otherwise.
  • After a send, the element fires a formpik:submitted event that bubbles, and a formpik_submitted event goes to Google Tag Manager's dataLayer when the page has one.
  • FormpikEmbed.open(id, params) opens a popup from your own code, and FormpikEmbed.close() closes it.
  • Forms added to the page later, by a single page app or a tab, are found and drawn on their own.
HTML
<div id="quote" data-formpik-form="frm_q8w2e4r6t1"></div>

<script>
  document.getElementById('quote').addEventListener('formpik:submitted', function (event) {
    // event.detail.form is the form id
    console.log('Sent', event.detail.form)
  })

  // Open a popup from your own code, with answers filled in
  // FormpikEmbed.open('frm_q8w2e4r6t1', 'plan=pro')
</script>

After sending

The page and every embed follow the form's After submitting settings: they show the success message, or go to your page, after the delay you picked and to the page a redirect rule points at when one matches. From an embed the whole page goes on, not only the frame. When visitors stay, they can send another answer. See Forms.

Where the answers come from

Publishing gives the form a source called Share link, shown in its Connect tab and on the Sources page. The page and every embed post to it, so you can see how many answers came from the link and limit a flow to them with the sources setting of its trigger. It never counts toward your plan's sources.

Each submission records the page it was sent from: the share link itself, or the website around an embed. For the share link it also keeps where the visitor came from, such as a newsletter or a social post, when the browser says so.

What protects the page

  • The same checks as every source: the hidden spam trap, the field rules, the limit per visitor per hour and your plan's monthly submissions.
  • Allowed websites in the form's settings decide where the form can be embedded. The share link itself always opens, wherever someone found it.
  • The bot check (Turnstile or reCAPTCHA) is for your own websites. The share link page relies on the spam trap and the limits instead.
  • Uploaded files go to private storage, exactly as from a website, up to 10 MB each and 25 MB per send.

From the API and agents

POST /api/v1/forms/{id}/publish publishes a form and answers the share link with every embed code, and /unpublish takes it offline. AI agents do the same with the publish_form and unpublish_form tools. See Forms API and MCP server.

Common questions

Do I need a website to use a form?
No. The share link is a page of its own. Send it by email or chat, put it in your social bio or newsletter, or print it as a QR code.
Can I publish a form and connect my website at the same time?
Yes. A published form keeps every source it had. Answers from the share link, the embeds and your websites all land in the same inbox and run through the same flows.
Why does my embed not show on my website?
The form may not be published, or the website is not in the form's allowed websites. Both are in the form: the Share tab and Settings. A page that blocks frames with its own security policy needs to allow formpik.com.
What happens to the link when I delete the form?
It stops working, together with every embed, and the form’s submissions are deleted.