On this page
What this issue is
A duplicate embed is when the same form shows up two times on one page. Both copies look real. Often they share the same element IDs (the unique names the browser uses to find a field), which can confuse scripts, labels and autofill.
Common causes: the form is added in the page body and in a theme section, popup or sidebar; a form-builder script is loaded twice; a page was duplicated and the embed copied with it; or a tag manager tag injects a form that is already in the HTML.
Why it costs you leads or sales
Visitors see two forms and wonder which one to use, or whether the page is broken. Some fill in the first, scroll, and fill in the second as well, which creates double leads and wastes sales time. Others give up.
Duplicate IDs can also make a button submit the wrong copy, make labels focus the wrong field, or make a validation message appear on a form the visitor is not using. Conversion tracking can fire twice, which inflates your numbers.
- Ad clickVisitor lands on the page
- Two forms shownSame embed added twice
- Confusion or wrong copy submittedDuplicate IDs, double leads or abandonment
- Clean lead in CRMOne lead, one conversion
The break happens when the visitor meets two forms and one copy does not work as expected.
Example: illustrative numbers only, showing how a second form can lower the share of visitors who submit.
How to check if your site has it
Look at the live page on desktop and mobile, then count the forms in the code. Check key landing pages first: the ones you send ad traffic to.
Scroll the whole page
Look in the header, body, sidebar, footer, popups and sticky bars. Resize the window, because some copies only show on mobile or desktop.
Open the browser console
Press F12 (or right-click, Inspect), open the Console tab and run the snippet below. A count above 1 for the same form is a red flag.
Check for duplicate IDs
Run the second snippet. Any ID listed appears more than once on the page.
View the source
Open view-source: for the page and search for the form's name, ID or the builder's script URL to see how many times it is added.
console.log('Forms on page:', document.forms.length);
Array.from(document.forms).forEach((f, i) => console.log(i, f.id || '(no id)', f.action));
const ids = {};
document.querySelectorAll('[id]').forEach(el => { ids[el.id] = (ids[el.id] || 0) + 1; });
console.log('Duplicate IDs:', Object.keys(ids).filter(k => ids[k] > 1));How to fix it
The fix is always the same: find every place the form is added, decide which one to keep, and remove the rest. How you find them depends on your platform.
Search the page content
Open the page in the editor and look for the form block or shortcode (for example [contact-form-7 id="123"]). Check there is only one.
Check the theme and widgets
Go to Appearance > Widgets (or Customize / Site Editor) and look for the same form in a sidebar, header or footer. Also check page template settings and any popup plugin.
Check the page builder
In Elementor, Divi or similar, open the Navigator or layers view and look for two form widgets, including ones in hidden sections.
Save and clear caches
Update the page and purge your caching plugin and CDN so the old HTML is not served.
Open the theme editor
Go to Online Store > Themes > Customize and open the page's template. Look for two form or custom liquid sections.
Check the theme code
In Edit code, search the page template and sections for the form snippet or app embed. A form added in both a template and a section will show twice.
Check app embeds
Under App embeds in the theme editor, make sure a forms app is not injecting a form that you also placed manually.
Look for tags that inject a form
In your container, search Custom HTML tags for the form builder's script or embed code.
Compare with the page HTML
If the form is already in the page, pause or delete the tag. Use Preview mode to confirm the tag no longer fires on that page.
Publish the container
Submit and publish the change, then reload the page.
Open the Navigator
In the Designer, open the Navigator and look for two Form Block or embed elements on the page.
Check symbols and embeds
A form inside a Symbol (shared component) or a Custom Code embed in the page footer can repeat the one you placed on the page.
Delete the extra and republish
Remove the duplicate element and publish the site.
Open the funnel or website page
In the page builder, check for two Form elements or a Custom Code element that holds the form's embed code.
Check sections shared across steps
Global sections or headers may include a form. Remove the one you do not want.
Save and publish
Save the page, then reload the live URL.
Check the page and the header or footer
In the Editor, a form placed in the header or footer shows on every page. Look for a second copy on the page itself.
Check hidden or mobile-only elements
Use the layers panel to find stacked or hidden forms, then delete the extra one and publish.
Check page sections and blocks
Edit the page and look for two Form blocks or Code blocks containing a form embed.
Check site-wide code injection
Under Settings > Advanced > Code Injection, remove any form script that also appears on the page.
Search the templates
Search your codebase for the form's markup or the builder's script URL. Look at layouts, partials and the page template.
Load the script once
Make sure the embed script is included once and the render call runs once. A single mount point per form is enough.
Guard against double initialisation
If scripts can run twice (for example on single-page app route changes), check whether the form container already has content before rendering.
const mount = document.getElementById('lead-form');
if (mount && mount.children.length === 0) {
// call your form builder's render function here
renderMyForm(mount);
}Duplicate embed
- Two identical forms on the page
- Duplicate IDs in the HTML
- Double leads or confused visitors
Single embed
- One form with a clear place on the page
- Unique IDs
- One submission, one lead
How to confirm it's fixed
- Reload the page in a private window on desktop and mobile
- The console snippet shows the expected number of forms
- No duplicate IDs are listed
- Submit one test lead and confirm exactly one arrives in your inbox and CRM
- Check that your conversion tag fires once per submission in your tag tool's debug view
How to prevent it happening again
Duplicates usually return when someone adds the form in a second place without knowing it is already there. Reduce the chance with a few habits.
- Keep one documented place for each form (page, template or tag manager, not several)
- Re-run the console count after theme, plugin or page builder updates
- Review your tag manager for tags that inject forms before adding an embed to a page
- Be careful when duplicating pages: check copied sections and shared components
- Add a form-count check to your launch checklist for every new landing page
How FunnelGuard handles this
FunnelGuard does not check for duplicate form embeds yet. Counting matching forms per page is a possible future check, but it is not something the product does today, so do not rely on it for this.
What FunnelGuard does do is run your real lead journey on a schedule with a robot visitor. It fills in and submits the form, checks each step, checks the tracking hits sent to platforms such as GA4, Google Ads and Meta, and checks that the test lead reaches your inbox and CRM. A broken submission or a missing lead can show up that way, but the cause being a second form would be for you to work out.
To watch for duplicates yourself, run the console snippet above on your key landing pages after every change, and keep the form count in your launch checklist. You can also start with the free read-only website audit, or the Free plan (1 site, 2 journeys, daily checks, no card), to monitor the journey itself.
Questions people ask
Why is my form showing twice on my page?
The same form has been embedded in two places, such as a shortcode in the page plus a theme widget, or a pasted embed plus a tag manager script. Search your page, theme, widgets, popups and tag manager for the form and keep only one.
How do I check how many forms are on a page?
Open the browser console (F12) and run document.forms.length. It returns the number of form elements on the page. You can also view the page source and search for the form's ID or script URL.
Why does my WordPress contact form appear twice?
Usually the shortcode or block is in the page content and the same form is also in a widget area, page builder section or template. Check Appearance > Widgets, your page builder's layers and any popup plugin, then clear your cache.
Can a duplicate form embed cause duplicate leads?
Yes. Visitors may fill in both copies, or a script may submit twice. Either way your inbox and CRM can show the same lead more than once. Removing the extra embed and testing one submission fixes it.
Does a duplicate form hurt conversions?
It can. Two identical forms add confusion, and duplicate IDs can make the wrong copy submit or show errors in the wrong place. Your results will vary by page, so test before and after the fix.
How do I find duplicate IDs on a web page?
In the console, loop over all elements with an id and count them, as in the snippet in this guide. Any ID with a count above 1 is duplicated, which often points to an embed added twice.
Does FunnelGuard detect a form that renders twice?
No. It does not check for duplicate form embeds yet. It does run your lead journey on a schedule and check that a test lead arrives, so a broken submission can still show up, but you need to count forms manually.
Related issues
- CNV-001Form missing from the landing page entirelyFix guide
- CNV-002Form field renamed or removed so the lead loses dataFix guide
- CNV-008Hidden UTM/gclid fields not populatedFix guide
- CNV-009Hidden field value overwritten by a later scriptFix guide
- CNV-022Form shows raw shortcode or template text instead of fieldsFix guide
- CNV-023Form plugin licence expired, form replaced by noticeFix guide