Skip to main content

Overview

Passing data to your embedded Fillout form can be used to:

Pass dynamic URL parameters

1

Register URL parameters (if you haven’t yet)

Add your parameter in the Settings page of your form. More information here.Screenshot 2025-12-01 at 6.03.03 PM.png
2

Paste the code

Click Share on top and select one of the Embed options followed by Get the code in the popup. Then paste into your website builder or HTML.image.pngYou can optionally customize how the embed and button will look.Screenshot 2025-12-01 at 6.06.43 PM.png
3

Add data attributes

In the Embed code, add data attributes for each URL parameter. For example, if you’re embedding this form on your site which is a Facebook-related campaign, and you have a URL parameter of ref, you can use data-ref="Facebook". Your embedding code will look something like this:
<div data-fillout-id="cwb3NdqFmJus" data-fillout-embed-type="standard" style="width:100%;height:500px;" data-fillout-inherit-parameters data-fillout-dynamic-resize data-ref="Facebook"></div><script src="https://server.fillout.com/embed/v1/"></script>
Embeds will automatically inherit URL parameters from the parent page that they’re on, so if your main site already has these, you simply need to register the parameter in your form to use it.
4

Publish

Once everything is set, click Publish in the upper right corner.