On this page
What this issue is
A deploy is any change that goes live: a theme update, a plugin update, a code release, a page-builder edit or a settings change. Most deploys are fine. Some break something that matters, such as a form button that no longer submits, a layout that hides the call to action, or a JavaScript error that stops the whole page.
Why it costs you leads or sales
Landing pages and forms are where ad clicks turn into leads. If a release breaks them, you keep paying for traffic that cannot convert. The loss runs from the minute of the deploy until someone notices and fixes it, which can be days if nobody is looking at the journey.
Example: a form breaks on Wednesday and is noticed on Friday. Numbers are illustrative.
- Ad clickVisitor arrives
- Landing pageLoads, but a script error appears
- Form submitButton does nothing or errors
- Thank-you pageNever reached
- Lead in inbox/CRMNothing arrives
The ad click and page view still happen, so reports look normal until leads are counted.
How to check if your site has it
Walk through the journey the way a customer would, on a fresh browser session, right after any deploy. Do not stop at the page loading.
- Open the landing page in a private window on desktop and on a phone.
- Check the page looks right and the button is visible and clickable.
- Open the browser console (F12) and look for red JavaScript errors.
- Fill in and submit the form with a test entry.
- Confirm you reach the thank-you page or see the success message.
- Confirm the test lead arrives in the inbox and the CRM.
- Check in the Network tab that analytics and ad tracking requests fire on submit.
- Compare against the last known good version if anything looks different.
How to fix it
Stop the bleeding
If the break is clear and a previous version exists, roll back first and investigate after. Pausing ads to the broken page is another option while you fix it.
Find the error
Open the console and Network tab on the broken page. A red error, a failed request (4xx or 5xx) on form submit, or a 404 for a script file tells you where to look.
Fix or revert the specific change
Revert the plugin, theme, script or setting that was changed, or patch the bug. Keep the change small.
Clear caches
Purge the page cache, CDN cache and any optimisation plugin cache so visitors do not get the old or half-updated files.
Re-test the full journey
Submit a real test entry and confirm the thank-you page, the email, the CRM record and the tracking hits.
Deactivate the latest update
In Plugins, deactivate the plugin or theme that updated just before the problem. If the admin is unreachable, rename its folder in wp-content/plugins over SFTP.
Restore a backup
Use your host or backup plugin to restore the version from before the deploy, then purge any caching plugin.
Publish the previous theme
In Online Store > Themes, open the theme library and publish the earlier version, or use Theme actions > Edit code and check Older versions for the file that changed.
Review recent app changes
Disable any app embed added or updated before the break under Customize > App embeds.
Revert the container version
In Admin > Versions, choose the last working version and publish it. Use Preview mode to confirm tags fire on form submit.
Restore a backup
In Site settings > Backups, restore the last good backup, then publish. Check form settings and the redirect URL after.
Review the funnel or form edit
Open the funnel step or form, check its recent changes, and undo the edit. Re-publish and submit a test entry to confirm the workflow runs.
Restore a site version
In Site history (Settings), restore the earlier saved version and publish. Test the form and its automations.
Undo the page or code injection change
Check Settings > Advanced > Code Injection and the page's form block for recent edits, and revert them. Squarespace has no full site rollback, so note the previous values before editing.
Redeploy the last good release
Roll back to the previous tag or build in your pipeline. Check that environment variables and the form endpoint are set in the target environment.
# Page loads and returns 200
curl -s -o /dev/null -w "%{http_code}\n" https://example.com/landing-page/
# Form endpoint accepts a POST (replace URL and fields with yours)
curl -s -o /dev/null -w "%{http_code}\n" -X POST https://example.com/api/lead -d "email=test@example.com"How to confirm it's fixed
Submit the form yourself in a private window and follow it end to end. You are done only when every step below works.
- The page loads with no console errors.
- The button is visible and the form submits.
- The thank-you page or success message appears.
- The test lead reaches the inbox and the CRM.
- Analytics and ad conversion hits fire once on submit.
- It works on mobile as well as desktop.
Broken deploy
- Page loads but submit fails silently
- No leads in inbox or CRM
- Found days later from falling lead numbers
Fixed and verified
- Form submits and shows thank-you page
- Test lead arrives in inbox and CRM
- Journey re-tested after every release
How to prevent it happening again
Before deploy
Test the change on staging, including a real form submission.
Deploy
Release outside peak ad hours and keep the previous version ready.
Minutes after
Run the journey check automatically and confirm the lead arrives.
If it fails
Roll back, then investigate calmly.
- Keep a changelog of every deploy with time and author.
- Update plugins and themes one at a time, not all at once.
- Back up before each release so you have a version to restore.
- Make the form test part of the release checklist.
- Run an automated journey check after each deploy.
How FunnelGuard handles this
FunnelGuard detects this today. You can set up a deploy hook so that each release triggers your journeys straight away. A robot visitor then runs the real journey, such as the lead form, and checks each step, the tracking hits sent to platforms like GA4, Google Ads and Meta, and whether the test lead reaches the inbox and CRM.
If a step fails, FunnelGuard re-checks from a second region before sending one alert by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked (utm_source=funnelguard, fg_test=1) and never enters real card details. The Free plan covers 1 site and 2 journeys with daily checks, and paid plans start with a 3-day free trial.
The page loads, but the new release breaks the form before it can submit.
Questions people ask
Why did my form stop working after an update?
An update most often changes a script, plugin, field name or endpoint the form relies on. Open the browser console and Network tab, submit the form, and look for a red error or a failed request. Then revert the most recent change and test again.
How do I test my landing page after a deploy?
Open it in a private window on desktop and mobile, check the console for errors, submit the form with a test entry, and confirm the thank-you page, the email and the CRM record. You can automate this with a synthetic monitoring tool that runs the journey after each release.
Why does my site look fine but I get no leads after a release?
The page can load normally while the form submit, an email setting or a tracking tag is broken. Uptime checks only confirm the page responds, so they miss this. Test the full journey from page view to lead received.
Should I roll back or fix forward when a deploy breaks my form?
If a previous version exists and the cause is not obvious, roll back first. That stops lead loss quickly, and you can investigate on staging afterward. Fix forward only if the fix is small and you can test it right away.
How do I find which update broke my website?
Check your deploy log, plugin update list or Git history for the time the last good lead arrived. The first change after that is the main suspect. Disable or revert changes one at a time and re-test the form.
Can a cache cause a broken page after a deploy?
Yes. A CDN or caching plugin can serve old files that do not match the new code, which breaks scripts or forms. Purge the page cache, CDN and optimisation plugin cache after a release, then test again.
How can I get alerted when a deploy breaks my form?
Run an automated journey check after each release. FunnelGuard can be triggered by a deploy hook, runs the journey, and sends one alert with a screenshot and likely cause if a step fails.
Related issues
- OPS-293Deploy removed tracking snippetFix guide
- OPS-294Rollback needed but no previous versionFix guide
- OPS-299Environment variable missing after redeployFix guide
- OPS-300Build artifact missing assets (404 JS chunks)Fix guide
- OPS-304Analytics consent config reset by deployFix guide
- OPS-308Deploys during peak ad hoursFix guide