Skip to content
FunnelGuard

Fix guide by FunnelsGuard

First-party tracking subdomain SSL expired: how to fix it

TRK-376High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A first-party tracking subdomain is a hostname on your own domain, such as metrics.example.com or sgtm.example.com, that points to your server-side tagging container or a tracking proxy. Your pages send analytics and ad events to it instead of to third-party domains. This helps with ad blockers and cookie lifetimes.

Why it costs you leads or sales

With the certificate expired, every tracking call to the subdomain fails. That can include page views, form submit events and purchase events. Ad platforms stop receiving conversions, so reports show fewer leads and sales than you really got.

Smart bidding in Google Ads and Meta learns from those conversions. When they vanish, bidding can drift toward worse traffic and budget is wasted. You may also pause campaigns that were working, because the numbers look bad.

Where the data is lost
  1. Visitor convertsSubmits the form or buys
  2. Page sends eventRequest to metrics.example.com
  3. HTTPS handshakeCertificate expired, browser blocks it
  4. Server containerNever receives the event
  5. GA4, Ads, MetaNo conversion recorded

The visitor converts normally, but the tracking call fails at the certificate check.

Conversions reported before and after expiryExample numbers
Conversions reported before and after expiry (example)Actual leads: 40 conversions per day; Reported, valid certificate: 38 conversions per day; Reported, expired certificate: 2 conversions per day0153140382Actual leadsReported, valid certi…Reported, expired cer…conversions per day

Example: illustrative numbers. Real leads stay the same, but reported conversions fall to near zero once the certificate expires.

How to check if your site has it

Check the tracking subdomain certificate
  1. Find the subdomain

    Open your site, press F12, go to the Network tab and look for requests to a subdomain of your own domain, such as /g/collect or /gtm.js. Or check the server URL in your Google tag settings or server container.

  2. Open it in a browser

    Visit https://metrics.example.com (use your own hostname). A certificate warning such as NET::ERR_CERT_DATE_INVALID confirms the problem.

  3. Look at the expiry date

    Click the padlock or warning icon, open the certificate details and read the Valid to date. Check the name also matches the subdomain.

  4. Check from the command line

    Run the command below. It prints the start and end dates of the certificate the server presents.

Print certificate dates and namebash
echo | openssl s_client -connect metrics.example.com:443 -servername metrics.example.com 2>/dev/null | openssl x509 -noout -subject -dates

How to fix it

The right fix depends on who issues the certificate for the subdomain. Find where the subdomain points (its DNS record), then use the matching option below.

Renew the certificate by setup
  1. Check the custom domain

    In tagmanager.google.com open your server container, go to Admin > Container Settings > Tagging server URLs and check the custom domain status.

  2. Fix DNS records

    If the domain shows as not provisioned, check that the A/AAAA records from the setup screen still exist at your DNS host. Google-managed certificates on App Engine or Cloud Run need them to renew.

  3. Re-add if needed

    Remove and re-add the custom domain, or follow the provider's current custom domain steps, then wait for the certificate to be issued.

How to confirm it's fixed

Confirm the fix
  • https://your-subdomain opens with no browser warning
  • The openssl command shows an end date well in the future and the right name
  • The Network tab shows requests to the subdomain returning a 200 or 204 status
  • GA4 Realtime or DebugView shows a test event
  • Google Tag Manager preview for the server container shows incoming requests
  • Test a real conversion and see it reach Google Ads and Meta Events Manager

How to prevent it happening again

Prevention
  • Use a certificate with automatic renewal and test that renewal works
  • Do not delete or change DNS records for the tracking subdomain without checking what they do
  • Put a calendar reminder 30 days before any manually managed certificate expires
  • Send renewal notice emails to a shared mailbox, not one person
  • Monitor the subdomain and the tracking hits, not only the main site
How an expiry unfolds
  1. Day 0

    Certificate expires or auto-renewal fails quietly.

  2. Day 1

    Browsers block tracking calls. Reported conversions drop.

  3. Day 3

    Someone notices odd numbers in GA4 or Ads. Cause is unclear.

  4. Day 4

    Certificate renewed and hits arrive again. Days of data are missing.

Example: the timing above is illustrative. The key point is that lost hits cannot normally be recovered once the days have passed.

How FunnelGuard handles this

FunnelGuard detects this today. When its robot visitor runs your journeys, it checks the resources the page loads, including the tracking hits, and flags SSL validity problems. The check on resources is partial: it covers what the journey actually loads, not every hostname you own, so a subdomain not used in a monitored journey may not be tested.

Questions people ask

Why is my server-side GTM not sending data?

A common cause is an expired or mismatched SSL certificate on the custom tagging subdomain. Open the subdomain in a browser and check for a certificate warning. Other causes include a changed DNS record or a stopped server container.

How do I check if my tracking subdomain SSL certificate has expired?

Open the https address in a browser and look for a warning, or run openssl s_client -connect yourhost:443 -servername yourhost | openssl x509 -noout -dates. The notAfter date is the expiry. Also check that the certificate name matches the subdomain.

Why did my SSL certificate not renew automatically?

Usual reasons are a changed or removed DNS record, a closed port 80 or 443, a new proxy or CDN in front of the host, a CAA record blocking the issuer, or a stopped renewal timer. Check renewal logs from your certificate tool or provider.

Will an expired certificate on a tracking subdomain affect my website?

Usually your pages still load, because the subdomain is only called by tracking scripts. The impact is on data: analytics and ad conversions stop arriving. That is why it often goes unnoticed for days.

Can I recover conversions lost while the certificate was expired?

Generally not from the browser side, as the events were never received. For some platforms you may be able to upload offline conversions from your CRM or orders afterwards. Check each platform's rules and time limits.

How do I stop my tracking subdomain certificate expiring again?

Use automatic renewal, protect the DNS records it relies on, send expiry notices to a shared mailbox and monitor the subdomain. Regularly test that tracking hits still arrive after any DNS or hosting change.

Does FunnelGuard detect an expired SSL certificate on a tracking subdomain?

Yes, within limits. It checks SSL validity on resources loaded during a monitored journey, so a tracking subdomain used on that journey can be flagged. Hostnames not loaded in a monitored journey may not be covered.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: ssl_valid on resources partial.

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.