On this page
What this issue is
An ad blocker is a browser extension (for example uBlock Origin, AdBlock Plus or Brave's built-in Shields) that removes ads and trackers. It uses public filter lists. These lists do two things: they block network requests to known ad or tracker domains, and they hide page elements with CSS rules called cosmetic filters.
Why it costs you leads or sales
A visitor who cannot see your form cannot fill it in. They rarely say anything; they just leave. Popups, sticky banners, exit offers, newsletter boxes and chat bubbles are the usual victims, and these are often the elements built to capture leads.
The loss is hard to spot because analytics tools are often blocked by the same extensions. The visitor may not appear in your reports at all, so conversion rates look normal while a slice of traffic cannot convert.
- Ad click or search visitVisitor lands on the page
- Page loadsBlocker is active in the browser
- Form or CTA hiddenClass name or embed URL matches a filter rule
- Form submitNever happens
- Lead in CRMNever created
The blocker hides the form, so every later step is lost for that visitor.
Example: illustrative numbers only. If the form is hidden for blocker users, their submit rate falls to zero.
How to check if your site has it
Install a blocker in a clean browser profile
Add uBlock Origin or AdBlock Plus to Chrome or Firefox. Also try Brave, which blocks by default.
Open your key pages
Load landing pages, the contact page, checkout and any page with a popup, chat widget or embedded form.
Look for gaps
Check for empty space where a form, button or banner should be.
Open the blocker's logger
In uBlock Origin, open the dashboard and the logger, then reload the page. Blocked requests and hidden elements are listed with the rule that matched.
Inspect the hidden element
Right-click the gap, choose Inspect, and note the class names, IDs and script domains. These are what the rule matched.
| Cause | What you see | Where to look |
|---|---|---|
| Ad-like class or ID | Element is in the HTML but has display: none | Inspect element, Styles panel |
| Embed from a listed domain | Blank iframe or missing widget | Network tab shows blocked request |
| Popup plugin name in file path | Popup script fails to load | Network tab, red blocked entries |
| Tracker call inside the submit handler | Form shows but submit fails | Console errors on submit |
How to fix it
You cannot control visitors' blockers, and you should not try to detect and trick them. The aim is to make your legitimate form and CTA not look like ads, and to make sure the form still works if a tracker is blocked.
Rename ad-like classes and IDs
Replace names such as
.popup-banner,#sponsor-boxor.ad-slotwith plain ones like.signup-panelor#contact-form.Put the form inline on the page
A form in the main content is less likely to be hidden than a popup or sticky banner. Offer an inline option next to any popup.
Serve scripts and embeds from your own domain
Where the tool allows it, host the form or widget on your domain or a subdomain you control instead of a third-party domain.
Do not let tracking block the submit
Make sure the form posts first. Fire analytics calls without waiting for them, and wrap them so an error does not stop the submit.
Add a fallback
Show a plain email link or phone number in the page text so someone can still reach you.
Rename custom CSS classes
In the block editor, select the block, open Advanced and change Additional CSS class(es). Update matching rules under Appearance > Customize > Additional CSS.
Review popup plugins
Some popup plugins use ad-like class names. Check the markup, and prefer an inline form block where possible.
Edit theme classes
In Online Store > Themes > Edit code, search for ad-like class names in your sections and CSS and rename them consistently.
Check app embeds
Under Customize > App embeds, test each app's widget with a blocker on and remove ones that vanish and matter.
Avoid injecting forms or banners via custom HTML tags
Blockers often stop GTM or hide injected markup. Put the form in the page itself, not in a tag.
Rename classes in the Style panel
Select the element and edit the class name in the Selector field. Avoid words like banner, popup and ad.
Use an inline form on a funnel page
If an embedded form or popup is hidden, switch to a form element placed directly in the funnel step and test it with a blocker on.
Prefer native forms over lightboxes
Lightbox popups can be hidden. Add a form directly on the page and test it with a blocker on.
Use a form block on the page
Add a Form block inline instead of relying only on a promotional pop-up, and check any code injection for ad-like class names.
Rename selectors and guard tracking calls
Use neutral class names and wrap analytics calls in try/catch so a blocked tracker does not stop the submit.
document.querySelector('#contact-form').addEventListener('submit', function () {
try {
if (window.gtag) gtag('event', 'generate_lead');
} catch (e) {
// A blocked tracker must never stop the form
}
// Form posts as normal
});Before
- Form wrapper uses class promo-banner-popup
- Widget loaded from a third-party domain
- Submit waits for a tracker that is blocked
After
- Form wrapper uses class contact-form
- Form served from your own domain
- Tracking is wrapped so the submit always goes through
How to confirm it's fixed
- Form and CTA visible in Chrome with uBlock Origin on
- Form and CTA visible in Firefox with AdBlock Plus on
- Form and CTA visible in Brave with default Shields
- Test submission reaches your inbox or CRM with the blocker on
- The uBlock logger shows no cosmetic filter hiding your form
How to prevent it happening again
- Agree a naming rule: no ad, banner, sponsor or popup in class names for lead elements
- Test every new popup, widget or embed with a blocker on before launch
- Keep an inline form on key pages as well as any popup
- Re-test after theme, plugin or page builder updates
- List a visible email or phone fallback on contact and landing pages
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. It depends on each visitor's own browser extension and filter lists, and FunnelGuard's robot visitor does not emulate ad blockers. For this you need another kind of tool: a cross-browser or manual testing setup where you can install real blocker extensions and load your pages, or a browser testing service that supports extensions.
FunnelGuard can still help with the related risk that a form fails for everyone: it runs your real journeys on a schedule, checks each step, and confirms test leads reach the inbox and CRM. A free plan covers 1 site and 2 journeys.
Questions people ask
Why is my form not showing for some visitors?
One common cause is an ad blocker. Its filter lists hide elements with ad-like class names or IDs and block embeds from listed domains. Open the page with uBlock Origin on and inspect the empty space to see what matched.
Can an ad blocker hide my contact form?
Yes. Cosmetic filters can hide any element they match, including forms, popups, chat bubbles and CTA banners. Embedded third-party forms can also fail to load if their domain is on a block list.
How do I test my website with an ad blocker?
Install uBlock Origin or AdBlock Plus in a clean browser profile, or use Brave. Load your landing page, contact page and checkout, then look for gaps. The uBlock logger shows which rule hid or blocked each item.
Which class names do ad blockers hide?
Names that look like advertising, such as banner, sponsor, promo, popup or ad followed by a dash or number, are common triggers. Rules differ between lists, so test your own markup and rename anything that vanishes.
Does an ad blocker stop form submissions?
It can if your submit code waits for a blocked tracker and errors out. Wrap analytics calls in try/catch and let the form post normally. Then a blocked tracker only loses the tracking, not the lead.
Should I detect ad blockers and show a message?
It is better to fix the cause than to nag visitors. Use neutral names, inline forms and your own domain. Never try to get around the blocker in ways that break its rules or the visitor's choices.
Can FunnelGuard detect ad blocker problems?
No. This issue is outside what FunnelGuard checks because it depends on visitors' extensions. Use manual or cross-browser testing with blocker extensions for it.
Related issues
- CNV-385Form broken on FirefoxFix guide
- CNV-384Submit button does nothing on iOS SafariFix guide
- CNV-390In-app browsers (Instagram/Facebook) break checkoutFix guide
- CNV-392Dark mode makes form text invisibleFix guide
- CNV-393Touch events not handled (hover-only menus)Fix guide
- CNV-386Layout broken on small phonesFix guide