Here’s how to connect your Jotform form with Attributer using the standard embed method after configuring hidden fields:
Step 1: Add Unique Names
- In your Jotform form builder, go to ADVANCED > Field Details > Unique Name.

- For each hidden field, input these default values:
| Hidden Field | Unique Names |
| Channel | channel |
| Channel Drilldown 1 | channeldrilldown1 |
| Channel Drilldown 2 | channeldrilldown2 |
| Channel Drilldown 3 | channeldrilldown3 |
| Landing Page | landingpage |
| Landing Page Group | landingpagegroup |
Step 2: Generate Your Embed Code
- Click PUBLISH in the top toolbar.
- Select the EMBED option from the left menu.
- Click the Copy Code button.

Step 3: Edit the embed code and add it to your website
- Paste the copied code into your website where the form should appear.
- Immediately below the embed code, add this custom script:
<script>
function prepop() {
const formScript = document.querySelector(
'script[src ^= "https://form.jotform.com"]'
);
if (!formScript) {
window.requestAnimationFrame(prepop);
return;
}
const id = formScript.src.match(/jsform\/(\d+)/)[1];
const formIframe = document.getElementById(`${id}`);
if (!formIframe) {
window.requestAnimationFrame(prepop);
return;
}
formIframe.src = formScript.src.replace(/jsform\//, "");
formIframe.setAttribute("data-attributer-iframe", "");
if (document.FlareTrk) {
document.FlareTrk.repoping = false;
document.FlareTrk.repop();
}
}
prepop();
</script>