On this page
What this issue is
A dead click happens when a visitor clicks or taps a button and nothing visible follows. No page change, no form submission, no pop-up, no error message. The button looks normal, so the visitor assumes the site is broken and leaves.
The button is usually the key step of a funnel: Submit, Add to cart, Book now, Checkout, Start chat. Because nothing crashes visibly, owners often don't know about it for weeks.
| Cause | What you see | Where to look |
|---|---|---|
| JavaScript error before the handler runs | Red error in the console on load or on click | Browser DevTools, Console tab |
| Invisible element covering the button | Cursor does not change over the button; the click lands on something else | DevTools, Elements tab, inspect the clicked point |
| Button disabled or waiting for a field | Greyed out or ignores clicks | The button's disabled attribute and form validation |
| Handler never attached | No error, no response | Event Listeners panel in DevTools |
| Script blocked or failed to load | Network request fails or is blocked | DevTools, Network tab |
| Link with an empty or # href | Page jumps to top or nothing happens | The element's href and onclick |
Why it costs you leads or sales
Visitors who press a button and get no response rarely try twice. They leave, and you never see a failed submission, because nothing was sent. Ad clicks you paid for end on a page that cannot convert.
Dead clicks are often limited to one device, browser or step, so your own testing on a desktop can look fine while many mobile visitors are stuck. Conversion tracking also shows nothing unusual, just fewer conversions.
- Ad clickVisitor lands on the page
- Page loadsButton is visible
- Click buttonNothing happens
- Form or checkoutNever reached
- Lead or saleNever recorded
The visitor reaches the button but the click goes nowhere, so every later step is lost.
Example: illustrative numbers only. If the button works on desktop but is dead on mobile, completions drop for every visitor on the broken device.
How to check if your site has it
Open the page in a private window
This removes extensions and cached files that can hide or cause problems.
Open DevTools and the Console
Press F12 (or Cmd+Option+I on Mac), choose the Console tab and clear it. Then click the button and look for red errors.
Check whether the click reaches the button
Right-click the button and choose Inspect. In the Elements tab, check that it has no disabled attribute. Hover the button: if the highlighted element is a different one (a banner, chat widget or hidden pop-up), something is covering it.
Check the Network tab
Reload with the Network tab open. Look for scripts that failed (red) or were blocked, especially the one that powers the button.
Repeat on mobile and other browsers
Use a real phone, or DevTools device mode, and test Chrome, Safari and Firefox. Test with the cookie banner both open and dismissed.
const btn = document.querySelector('button[type="submit"]');
const r = btn.getBoundingClientRect();
const top = document.elementFromPoint(r.left + r.width / 2, r.top + r.height / 2);
console.log('Button:', btn, 'Element on top:', top, 'Same element?', btn === top || btn.contains(top));An invisible layer sits over the button, so the tap never reaches it.
How to fix it
Fix the cause you found. The steps below cover the common ones; the platform tabs cover where to change things.
JavaScript error: fix or remove the failing script
Read the first red error in the Console. It names the file and line. Update, reconfigure or remove the plugin, app or snippet that throws it. An error in an unrelated script can stop later scripts, including your button's.
Covered button: fix the overlay
Close or remove the element on top. For a hidden pop-up or banner, make sure it is truly hidden (display: none) and not just transparent. If it must stay, add pointer-events: none to purely decorative layers, and check z-index values.
Disabled button: fix the condition
Find what keeps it disabled, for example a required field, a consent tick box or a validation script that never re-enables it. Show visible messages so visitors know what is missing.
Handler never attached: fix load order
If your script runs before the button exists, the listener attaches to nothing. Load the script after the button or wait for DOMContentLoaded. For buttons added later, use event delegation.
Blocked or failed script: restore it
If the Network tab shows a 404 or a blocked request, correct the file URL, clear caches and CDN, and check that a consent or security setting is not blocking a script the button needs.
document.addEventListener('DOMContentLoaded', function () {
document.addEventListener('click', function (event) {
const btn = event.target.closest('#add-to-cart');
if (!btn) return;
event.preventDefault();
// your action here
});
});.hero-overlay {
pointer-events: none;
}Find the conflicting plugin
Deactivate plugins one at a time (use a staging copy if you can) and retest the button. Also test with a default theme to rule out the theme.
Check optimisation plugins
If a caching or minify plugin has a setting to delay or combine JavaScript, exclude the script that powers the button, or turn the option off.
Test with apps disabled
In Online Store > Themes, preview a duplicate theme and remove or disable recently added apps. App scripts are a common source of errors that stop the cart button.
Check theme code
In Edit code, look for edits near the product form or cart button. Compare with an unedited copy of your theme.
Use Preview mode
Open Tag Assistant from Preview and click the button. Check which tags fired. A custom HTML tag with a script error or one that calls preventDefault can stop the click.
Pause suspect tags
Pause recently published custom HTML tags and retest.
Check interactions and overlays
In the Navigator, look for full-width elements layered above the button, such as hidden sections or modals set to be invisible but still present. Fix their display or layering.
Review custom code
Check Project Settings > Custom Code and page-level embeds for scripts that throw errors.
Check the button's action
In the funnel or website builder, select the button and confirm its action is set (for example Submit form, Go to URL or Open pop-up) and points to a valid target.
Review custom code
Check custom JavaScript or CSS in page settings, and pop-ups or sticky elements that may overlap the button.
Check the button link
In the Editor, select the button and open its link settings to confirm a target is set.
Check overlapping elements
Move or resize layers that overlap the button. In Velo, check the onClick code and the browser console for errors.
Check the button block
Edit the button block and confirm the link is set. Remove spacer or code blocks that overlap it.
Check code injection
Review Settings > Advanced > Code Injection and page-level code for scripts that fail.
Use the Event Listeners panel
In DevTools, Elements tab, select the button and open Event Listeners to confirm a click handler is attached.
Add error handling
Wrap handler code in try/catch during debugging so one failing call is visible, and make sure the handler does not call preventDefault without then doing something.
How to confirm it's fixed
- The button responds on desktop and on a real phone
- It works in Chrome, Safari and Firefox
- The Console shows no red errors when you click
- It works with the cookie banner open and after you dismiss it
- The next step appears: form submits, cart updates or page changes
- The test lead or order reaches your inbox, CRM or order list
- Tracking events fire after the click (check in GA4 DebugView or the platform's test tool)
How to prevent it happening again
- Test the main button after every theme, plugin, app or tag change
- Use a staging copy for risky changes
- Keep a list of scripts on funnel pages and remove the ones you don't use
- Check pop-ups, chat widgets and banners for overlap on small screens
- Re-test the complete journey on mobile after each release
- Set up automated checks so you hear about a break before customers do
Before
- Button looks normal but gives no response
- Console shows an error or an overlay covers the button
- No leads or orders from affected devices
After
- Click triggers the next step straight away
- Console is clean on click
- Test lead or order arrives
How FunnelGuard handles this
FunnelGuard detects this issue only partly. A robot visitor runs your journey on a schedule and clicks the button as a real visitor would. If the click does nothing, the next step fails or the check that should pass after it (the next page, the form or a success message) does not pass. FunnelGuard then re-checks from a second region and sends one alert with a screenshot and a likely cause.
What it does not cover: a dead click that appears only for certain devices, browsers, screen sizes or visitor states, or on a button that is not part of a journey you set up. It also cannot tell that a button is dead when no next step or check is defined after it. It does not bypass CAPTCHAs or bot protection.
The Free plan includes 1 site and 2 journeys with daily checks and no card needed. Paid plans have a 3-day free trial. A free read-only website audit is also available.
Questions people ask
Why is my button not doing anything when I click it?
Most often a JavaScript error has stopped the click handler, another element is covering the button, or the button is disabled. Open the browser console, click the button and look for red errors, then inspect the button to see what element receives the click.
How do I find out what is blocking a button click?
Right-click the button, choose Inspect, and hover over it to see which element is highlighted. You can also run document.elementFromPoint at the button's centre in the console. If it returns a different element, that element is covering the button.
Why does my button work on desktop but not on mobile?
Mobile layouts often move banners, chat widgets or sticky bars over the button, and some scripts fail on mobile browsers. Test on a real phone and in Safari, and check overlapping elements at small screen sizes.
Can a cookie banner stop a button from working?
Yes. A banner or its hidden overlay can sit on top of the button, and a consent setting can block a script the button needs. Test with the banner open and after you dismiss it.
Why does my Add to cart or Submit button do nothing after I installed a plugin or app?
The new plugin or app may throw a JavaScript error or change the button's behaviour. Disable it and retest. If the button works, check the app's settings or contact its support.
Will analytics show me dead clicks?
Not by default. Standard conversion reports only show fewer conversions, not why. Some session tools show click patterns, but the surest method is to test the button yourself and run automated journey checks.
Can FunnelGuard detect a button that does nothing?
Partly. FunnelGuard runs your journey and flags it when the next step or check after the click fails. It cannot see dead clicks on devices or browsers it does not test, or on buttons with no check after them, so test those by hand.
Related issues
- PRF-116Uncaught JavaScript exception on page loadFix guide
- PRF-117Console error on a funnel stepFix guide
- PRF-120JS error only after clicking submit breaks the formFix guide
- PRF-133Page stuck on loading spinner foreverFix guide
- PRF-135Form submits but shows no feedback (silent failure)Fix guide
- PRF-137Error 'Something went wrong' shown after submitFix guide