On this page
What this issue is
Every tracking tag sends a request to a vendor or to your own collection server. That request often carries details about the visitor and the action, such as the page URL, an event name and sometimes form values. If the address starts with http://, the request is not encrypted.
Personal data (PII) means anything that identifies a person: an email address, phone number, full name, postal address or an ID tied to them. When PII rides on a plain http request, anyone on the same network path, such as public Wi-Fi, a compromised router or an intermediary, can read it. Browsers also treat these requests as mixed content on an https page, and may block them.
Why it costs you leads or sales
The direct cost is risk. Sending personal data unencrypted can breach data protection rules such as GDPR, which expect appropriate security for personal data. It can also expose your customers to interception and damage trust if it comes out.
- Visitor submits formEmail and phone entered
- Tag firesRequest built with email in it
- Sent to http:// endpointNo encryption, may be blocked as mixed content
- Platform receives hitConversion may never arrive
The lead form works, but the tracking request carrying the email is sent without encryption.
How to check if your site has it
Open DevTools on a key page
In Chrome, press F12 and open the Network tab. Tick Preserve log.
Run the journey
Load the page, then submit your lead form or go through checkout with a test email.
Filter for http requests
Type
http://in the filter box, or add the Scheme column (right-click the column headers). Look for any request with the scheme http.Inspect the payload
Click each insecure request and check the Payload and Headers tabs for the email, phone or name.
Check the Console
Look for messages starting with Mixed Content. They name the blocked or upgraded URL.
Search your code
Search theme files, tag manager tags and plugin settings for
http://next to pixel, collect, track or webhook URLs.
How to fix it
The fix has two parts: move every endpoint to https, then reduce the personal data you send. Start with the protocol, because it is quick.
Set site URLs to https
Go to Settings > General and make sure WordPress Address and Site Address start with https://.
Check tracking plugins
Open each analytics, pixel and form-integration plugin and replace any http:// endpoint or webhook URL.
Fix hard-coded snippets
Search the theme header, footer and any header/footer script plugin for http:// tracking URLs.
Check theme code
In Online Store > Themes > Edit code, search theme.liquid and snippets for http:// tracking URLs.
Check custom pixels and apps
Review Settings > Customer events and installed apps for custom endpoints that use http.
Review Custom HTML and image tags
Open each tag and replace http:// URLs, including pixel image sources, with https://.
Check the server container URL
If you use server-side tagging, make sure the tagging server URL in your Google tag settings is https:// and the domain has a valid certificate.
Check custom code
In Site settings > Custom code and each page's settings, replace http:// tracking URLs with https://.
Check form webhooks
Review any Zapier or webhook integration URLs used by forms.
Check tracking code
In Sites > Funnels or Websites, open Settings > Tracking code and replace any http:// URLs.
Check workflow webhooks
Open workflows that use a Webhook action and make sure the URL starts with https://.
Review custom code
In Settings > Custom code, replace http:// tracking URLs with https://.
Check marketing integrations
Re-connect any pixel set up with a manual URL using the https address from the vendor.
Check code injection
In Settings > Advanced > Code injection, replace http:// tracking URLs with https://.
Confirm SSL
In Settings > Domains, confirm SSL is on for your domain.
Replace endpoints
Change every http:// collection URL to https:// or to a protocol-relative-free absolute https URL.
Install a certificate on your collector
If you run your own endpoint, serve it over TLS and redirect port 80 to 443.
Add an upgrade policy
Send the Content-Security-Policy directive upgrade-insecure-requests as a safety net, not a substitute for fixing the URLs.
<!-- Before: unencrypted -->
<img src="http://collect.example.com/p?event=lead&email=jane@example.com" width="1" height="1">
<!-- After: encrypted, and no email in the URL -->
<img src="https://collect.example.com/p?event=lead" width="1" height="1">server {
listen 80;
server_name collect.example.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name collect.example.com;
add_header Content-Security-Policy "upgrade-insecure-requests" always;
}List what each tag sends
From the Network tab, note which tags include email, phone, name or address.
Remove what the platform does not need
Send an event name and a non-identifying value instead, such as lead_form_submit.
Use consent and hashing where a platform asks for them
Some ad platforms accept hashed identifiers for matching. Only send these with the right consent, and over https.
Broken
- Endpoint starts with http://
- Email visible in the request
- Browser may block it as mixed content
- Conversion missing from reports
Fixed
- Endpoint starts with https://
- No personal data in the URL
- No mixed content warnings
- Conversion arrives in the platform
How to confirm it's fixed
- Network tab shows no request with scheme http during the full journey
- The Console shows no Mixed Content messages
- Form submit and thank-you page requests contain no email, phone or name
- The conversion shows in GA4 DebugView or the ad platform's test events tool
- Your tracking server certificate is valid and not expiring soon
How to prevent it happening again
- Always copy tracking snippets from the vendor's current docs, never from old emails or blog posts
- Review new tags in GTM preview mode before publishing and check the scheme of every request
- Set a Content-Security-Policy that includes upgrade-insecure-requests as a safety net
- Renew certificates automatically on any server you run for tracking
- Keep PII out of URLs, event names and parameters by default
- Re-run your journeys after theme, plugin or tag changes
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor runs your real journeys on a schedule, such as a lead form or checkout, and checks the requests the page makes along the way. The check, named no_mixed_content, flags insecure http requests loaded on your https pages, which includes tracking calls.
Questions people ask
Why is my tracking pixel using http instead of https?
Usually an old snippet, a hard-coded URL in the theme, or a plugin setting still points to an http address. A tracking server without a certificate can also cause it. Search your theme, tag manager and plugin settings for http:// and replace each with https://.
Is sending an email address over http a GDPR problem?
It can be. GDPR expects appropriate security for personal data, and unencrypted transmission of emails or phone numbers is hard to defend. You should also ask whether the platform needs the personal data at all, and remove it if not. This is general information, not legal advice.
What is mixed content in tracking?
Mixed content is when an https page loads a resource, such as a pixel or script, over plain http. Browsers may block it or upgrade it. If blocked, the conversion hit never reaches the analytics or ad platform.
How do I find http requests on my website?
Open Chrome DevTools, go to the Network tab, run your form or checkout, and filter for http:// or add the Scheme column. Also check the Console for Mixed Content messages. Click each insecure request to see whether it carries personal data.
Will upgrade-insecure-requests fix this?
It makes browsers rewrite http subrequests to https, which helps as a safety net. It only works if the endpoint also supports https. Fix the source URLs as well, so no request starts on http.
Does moving to https remove the need to strip PII from tracking?
No. https protects the data in transit, but the vendor still receives it. If the platform does not need email, phone or name, remove them from URLs, events and parameters.
Can FunnelGuard tell me if my tracking uses http?
Yes. FunnelGuard runs your journeys on a schedule and its no_mixed_content check flags insecure http requests on your https pages. It does not decide whether each payload is personal data, so you still review what your tags send.
Related issues
- TRK-355Email address in page URL query string sent to GA4Fix guide
- TRK-357Name or address in thank-you URL sent to pixelsFix guide
- TRK-360PII in dataLayer pushed to all vendorsFix guide
- TRK-361Hashed PII sent without consentFix guide
- TRK-356Phone number in event parametersFix guide
- TRK-358Form field values sent in GA4 click textFix guide