Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Ad blocker hides form or CTA: how to find and fix it

CNV-395Medium impactOther toolBy FunnelGuardPublished Updated
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.

Where the visitor is lost
  1. Ad click or search visitVisitor lands on the page
  2. Page loadsBlocker is active in the browser
  3. Form or CTA hiddenClass name or embed URL matches a filter rule
  4. Form submitNever happens
  5. Lead in CRMNever created

The blocker hides the form, so every later step is lost for that visitor.

Leads from visitors with and without a blockerExample numbers
Leads from visitors with and without a blocker (example)No blocker: 3 % of visitors who submit; Blocker, form visible: 3 % of visitors who submit; Blocker, form hidden: 0 % of visitors who submit012330No blockerBlocker, form visibleBlocker, form hidden% of visitors who submit

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

Test your pages with blockers on
  1. 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.

  2. Open your key pages

    Load landing pages, the contact page, checkout and any page with a popup, chat widget or embedded form.

  3. Look for gaps

    Check for empty space where a form, button or banner should be.

  4. 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.

  5. 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.

Common causes and what to look for
CauseWhat you seeWhere to look
Ad-like class or IDElement is in the HTML but has display: noneInspect element, Styles panel
Embed from a listed domainBlank iframe or missing widgetNetwork tab shows blocked request
Popup plugin name in file pathPopup script fails to loadNetwork tab, red blocked entries
Tracker call inside the submit handlerForm shows but submit failsConsole 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.

Make the form and CTA blocker-proof
  1. Rename ad-like classes and IDs

    Replace names such as .popup-banner, #sponsor-box or .ad-slot with plain ones like .signup-panel or #contact-form.

  2. 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.

  3. 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.

  4. 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.

  5. Add a fallback

    Show a plain email link or phone number in the page text so someone can still reach you.

Where to change it on your platform
  1. 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.

  2. Review popup plugins

    Some popup plugins use ad-like class names. Check the markup, and prefer an inline form block where possible.

Submit the form even if tracking is blockedjavascript
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
});
Markup that gets hidden vs markup that stays

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

Confirmation checks
  • 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

Habits that keep it away
  • 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.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.