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.
- Visitor convertsSubmits the form or buys
- Page sends eventRequest to metrics.example.com
- HTTPS handshakeCertificate expired, browser blocks it
- Server containerNever receives the event
- GA4, Ads, MetaNo conversion recorded
The visitor converts normally, but the tracking call fails at the certificate check.
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
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.
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.
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.
Check from the command line
Run the command below. It prints the start and end dates of the certificate the server presents.
echo | openssl s_client -connect metrics.example.com:443 -servername metrics.example.com 2>/dev/null | openssl x509 -noout -subject -datesHow 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.
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.
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.
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.
Renew with your certificate tool
If you use Let's Encrypt with certbot, run
sudo certbot renewand check for errors. Failures are often a changed DNS record, a closed port 80 or 443, or a stopped renewal timer.Reload the web server
After renewal, reload nginx or Apache so it serves the new certificate, for example
sudo systemctl reload nginx.Turn on automatic renewal
Confirm the renewal timer is active with
systemctl list-timers | grep certbot.
Find who hosts the subdomain
Tracking subdomains are usually not served by WordPress. Check the DNS record: if it points to your host, renew the certificate in the hosting panel (often under SSL/TLS or Let's Encrypt).
Check plugin settings
If a server-side tagging plugin uses the subdomain, confirm the URL in its settings is correct and uses https.
Check the DNS record
Shopify does not host your tracking subdomain. Open your DNS provider and see where the subdomain points, for example a Stape or Cloud Run address.
Renew with that provider
Open the provider's dashboard, find the custom domain and reissue or re-verify the certificate. Then check the URL in your Shopify tracking app or pixel settings.
How to confirm it's fixed
- 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
- 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
Day 0
Certificate expires or auto-renewal fails quietly.
Day 1
Browsers block tracking calls. Reported conversions drop.
Day 3
Someone notices odd numbers in GA4 or Ads. Cause is unclear.
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.
Related issues
- TRK-377Server-side endpoint returns 5xx intermittentlyFix guide
- TRK-367Server-side GA4 event not arriving (Measurement Protocol)Fix guide
- TRK-372Server-side tagging cost overrun shutting containerFix guide
- TRK-368Meta CAPI token expiredFix guide
- TRK-375TikTok Events API token invalidFix guide
- TRK-369Server events missing client IP / user agentFix guide