Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Embedded form broken by Safari ITP third-party cookie blocking

CNV-358Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

An iframe is a window on your page that shows content from another site, such as a HubSpot, Typeform, Jotform, Calendly or payment form. That content runs on the provider's domain, not yours. Any cookie it sets is a third-party cookie.

Safari's Intelligent Tracking Prevention (ITP) blocks third-party cookies by default, and the same applies to every browser on iPhone and iPad, because they all use Apple's WebKit engine. Firefox and some other browsers also restrict them. If the embed needs a cookie or browser storage to keep a session, a CSRF token or a spam check, it can break: the form may not load, the submit button may do nothing, or the submission may be rejected.

Where an embedded form breaks in Safari
  1. Visitor opens pageSafari on iPhone or Mac
  2. Iframe loadsForm shows from provider domain
  3. Provider sets cookieThird-party cookie blocked by ITP
  4. Form submitRejected or does nothing
  5. Lead and conversion tagNever recorded

The page loads fine, so the problem is easy to miss.

Why it costs you leads or sales

Safari is a large share of mobile traffic in many markets, especially on iPhone. If the embed fails there, those visitors see a form that looks normal but does not work. They rarely tell you. They leave.

Form conversion rate by browserExample numbers
Form conversion rate by browser (example)Chrome: 4.2 %; Edge: 4 %; Safari: 0.9 %0234.240.9ChromeEdgeSafari%

Example: the same landing page with an embed that needs third-party cookies. Numbers are illustrative.

How to check if your site has it

The most reliable test is a real Safari session. Chrome desktop will not show the problem, and simply resizing the window does not reproduce it.

Test your embed in Safari
  1. Use a real device or Safari

    Open the page on an iPhone or in Safari on a Mac. Chrome on iPhone also uses WebKit, so it counts too.

  2. Use a clean session

    On Mac, open a Private window. Make sure Safari Settings > Privacy has 'Prevent cross-site tracking' on (the default).

  3. Submit a test lead

    Fill the form with a test email and submit. Look for the success message, then check the provider's submissions list and your inbox or CRM.

  4. Check the console

    On Mac, enable Develop in Safari Settings > Advanced, then open Develop > Show Web Inspector. Look in Console for messages about blocked cookies or storage access, and in Network for failed requests from the iframe.

  5. Compare with Chrome

    Repeat in Chrome. If it works there but not in Safari, third-party cookies are the likely cause.

You can also compare conversion rate by browser in GA4 (Reports > Tech > Tech details, with Browser as the dimension). A Safari rate far below other browsers is a warning sign, though it can have other causes.

How to fix it

There is no way to force Safari to allow third-party cookies, and you should not try to work around its privacy settings. Instead, remove your dependence on them. The options, from most to least robust:

Ways to remove the dependency on third-party cookies
OptionHow it worksTrade-off
Native form on your domainBuild the form in your own site or page builder and send data to your CRM by integration or webhookMore setup, most reliable
Provider's script embed instead of old iframeScript-based embeds render on your page and post to the provider's APIDepends on the provider supporting it
Provider's cookie-free or first-party modeSome tools offer a setting or custom domain so cookies are first-partyCheck the plan and docs
Link to a hosted pageOpen the form on the provider's own page in a full tab, where its cookies are first-partyVisitor leaves your page
Apply the fix on your platform
  1. Replace the iframe with a native form

    Use a form plugin that stores entries on your site (and sends them to your CRM by integration) instead of an iframe embed block.

  2. Or switch to the provider's plugin or script embed

    Many providers have an official WordPress plugin that renders the form in your page rather than in a frame. Check its docs.

Ask for storage access inside an iframe you control (after a user click)javascript
document.querySelector('#continue').addEventListener('click', async () => {
  if (!document.hasStorageAccess) return;
  if (!(await document.hasStorageAccess())) {
    try {
      await document.requestStorageAccess();
    } catch (e) {
      console.warn('Storage access denied', e);
    }
  }
});
Cookie-dependent iframe vs first-party form

Before

  • Form runs in a third-party iframe
  • Session cookie blocked in Safari
  • Submit fails with no error shown
  • Safari leads and conversions missing

After

  • Form renders on your own domain
  • No third-party cookie needed
  • Submit works in every browser
  • Leads and tracking match across browsers

How to confirm it's fixed

Confirmation checklist
  • Form loads on an iPhone and in Safari on a Mac
  • Submit shows the success message or thank-you page
  • Test lead appears in the provider, inbox and CRM
  • Conversion event fires after submit (check GA4 DebugView or the ad platform's test tool)
  • Private window test passes with cross-site tracking prevention on
  • Safari conversion rate in GA4 moves closer to other browsers over the next weeks

How to prevent it happening again

Prevention habits
  • Add Safari on iPhone to your release test list for every form, booking and chat embed
  • Prefer native forms or script-based embeds over frames
  • Re-test after the provider updates its embed code or you change theme or plugins
  • Review conversion rate by browser monthly in GA4
  • Keep a short list of every third-party embed on your key pages and who owns it

How FunnelGuard handles this

FunnelGuard does not check this yet. Its robot visitor does not run in WebKit, so it cannot reproduce Safari's cookie blocking. A Safari-specific check is a possible future addition.

Questions people ask

Why is my embedded form not working in Safari but works in Chrome?

Safari blocks third-party cookies by default through Intelligent Tracking Prevention. If your iframe form needs a cookie or storage on the provider's domain to keep a session or validate the submit, it can fail in Safari while Chrome still allows it. Test on a real iPhone or Safari to confirm.

Does Safari ITP block all iframes?

No. Iframes still load. ITP blocks third-party cookies and limits storage inside them. Forms that do not depend on those cookies keep working, so the problem depends on how the provider's embed is built.

How do I fix a form embed that fails on iPhone?

Replace the iframe with a native form on your own domain, or use the provider's script-based or first-party embed option. Then submit a test lead on a real iPhone and check it reaches your inbox and CRM.

Can I turn on third-party cookies for my visitors in Safari?

No. It is each visitor's setting and you cannot change it. Asking visitors to disable privacy protection is not a reliable fix, so remove the dependency on third-party cookies instead.

Do other browsers on iPhone have the same problem?

Yes. Chrome, Firefox and Edge on iPhone all use Apple's WebKit engine, so Safari's cookie rules apply to them as well. Testing in any browser on a real iPhone will show it.

How can I tell if Safari users are failing to convert?

In GA4, compare conversion rate by Browser under Reports > Tech > Tech details. A Safari rate far below Chrome on the same page is a warning sign. Confirm by submitting a test lead in Safari.

Does FunnelGuard detect Safari ITP embed problems?

Not yet. FunnelGuard does not run WebKit checks, so Safari-only cookie issues are outside what it tests. It does check your journeys, tracking hits and lead delivery in its own test browser, which catches failures that affect every visitor.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

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.