Connecting Swipe Pages to PostHog
Swipe Pages optimises for mobile speed, which is exactly the case where a slow-loading tracking script loses the identifier for the visitors you most wanted to reach. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Swipe Pages conversion before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Swipe Pages to PostHog: carry distinct_id into the product signup
Load PostHog in the Swipe Pages head via a reverse proxy. Append the landing page's distinct_id to the signup link, bootstrap the app's PostHog with it, and identify with your user ID at signup. For sales-led forms, store distinct_id in a hidden field and send the CRM outcome to PostHog's capture API with a unique event UUID.
PostHog is useful here when the landing page feeds a product signup, because it can follow one person from the Swipe Pages visit into the app if the distinct_id survives the trip. Load the PostHog snippet in the head through a reverse proxy on your own subdomain, so ad blockers on mobile do not drop the landing page events that start the funnel.
The landing page and your app almost never share a domain, so PostHog will mint a new anonymous ID on the app side. Append the landing page's distinct_id to the signup link and bootstrap the app's PostHog instance with it, then call identify with your user ID at signup. Without that, PostHog shows two unrelated people: one who viewed a landing page and one who signed up organically.
If the form leads to a sales conversation rather than a signup, write the distinct_id into a hidden field and send the later CRM outcome to PostHog's capture API with that ID and a unique event UUID, so a retried webhook does not double the count. Session replay on the landing page is worth enabling for this source specifically: it shows whether people abandon at the form or never scroll to it, which is the usual question with short mobile pages. Mask the form inputs.
Swipe Pages → PostHog · what breaks
Why this join usually fails — Swipe Pages → PostHog
- 01
The distinct_id never reaches Swipe Pages
Mobile social traffic arrives in in-app browsers with partitioned storage and short sessions.
- 02
Capture losing the race against a fast page
The faster the page, the earlier the visitor acts, and the more likely a script that loads late misses them entirely. On mobile social traffic this can be a large minority of arrivals.
- 03
Self-hosting the analytics and the outage together
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
- 04
Nothing reconciles afterwards
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
Swipe Pages → PostHog · the fix
What working looks like — Swipe Pages → PostHog
The distinct_id on every conversion
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Swipe Pages → PostHog · architecture
How Swipe Pages and PostHog actually connect
- 1
Swipe Pages holds the truth
Fast pages attract fast bounces. On mobile social traffic, a visitor can arrive, decide and leave before a late-loading script has run at all.
- 2
PostHog needs a click to match
PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.
- 3
The identifier is the bridge
The distinct_id, captured at the visit and carried into the Swipe Pages conversion.
- 4
The event source decides reliability
Send qualified outcomes with the source captured at first paint.
- 5
Deduplication at the destination
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
Swipe Pages → PostHog · normal or broken
Working vs. broken, side by side — Swipe Pages → PostHog
Normal, not a fault
The distinct_id present on the conversion
Sent from your CRM record
Deduplicated correctly
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
Reconciles with the source
Actually broken
The distinct_id missing on most records
Mobile social traffic arrives in in-app browsers with partitioned storage and short sessions.
Sent from the browser
The faster the page, the earlier the visitor acts, and the more likely a script that loads late misses them entirely. On mobile social traffic this can be a large minority of arrivals.
Counted twice, or not at all
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
Nobody has reconciled it
Swipe Pages → PostHog · diagnose
Diagnostic order — Swipe Pages → PostHog
- 01
Count conversions carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Check where capture sits in the load order
If it is not in the head, some share of your fastest-converting visitors are being lost.
- 04
Check ingestion health and disk before debugging any missing event
On self-hosted instances the answer is infrastructure far more often than it is instrumentation.
- 05
Read the match rate, not the success message
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
Swipe Pages → PostHog · prove
How it gets proven — Swipe Pages → PostHog
Source of truth
Your CRM, joined to the form submission.
- The distinct_id confirmed present on a live conversion.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Qualified outcomes reconciled against imported conversions, with capture verified in the head.
Swipe Pages → PostHog · free audit
What we check in the free audit
- Count conversions carrying the distinct_id
- Follow one real conversion end to end
- Check where capture sits in the load order
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Your CRM, joined to the form submission.
Free30 minutesNo obligation
Swipe Pages → PostHog · when not to buy
When you don't need this — Swipe Pages → PostHog
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the distinct_id.
- On slow desktop-heavy traffic the timing is more forgiving, though head placement is still correct.
- If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.
Swipe Pages → PostHog · what we deliver
What gets built — Swipe Pages → PostHog
Identifier capture into Swipe Pages
Capture in the document head, before anything else renders, and carry the identifier in the URL rather than relying on storage.
Event source: your CRM record
Send qualified outcomes with the source captured at first paint.
Dispatch to PostHog
The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.
Reversals where they exist
Disqualified leads reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your CRM, joined to the form submission.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Swipe Pages → PostHog questions, answered
Pass the landing page's distinct_id to the app in the signup URL and bootstrap PostHog with it, then identify the user at signup. Cross-domain visits otherwise appear as two separate people.
Yes, if the PostHog snippet with recording enabled runs on the page. Mask form inputs so names, emails and phone numbers are not captured in recordings.
Almost always because the distinct_id never reached the Swipe Pages conversion. Mobile social traffic arrives in in-app browsers with partitioned storage and short sessions. Measure coverage before debugging the dispatch.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
Your CRM record. Send qualified outcomes with the source captured at first paint.
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
More on Swipe Pages → PostHog
- Swipe Pages → Google AdsConnecting Swipe Pages to Google Ads
- Swipe Pages → MetaConnecting Swipe Pages to Meta Conversions API
- Swipe Pages → GA4Connecting Swipe Pages to GA4
RELATED GUIDES
Where Swipe Pages → PostHog fits in the rest of your tracking
- Leadpages → PostHogConnecting Leadpages to PostHog
- ConvertFlow → PostHogConnecting ConvertFlow to PostHog
- Unbounce → PostHogConnecting Unbounce to PostHog
- Swipe Pages → GA4Connecting Swipe Pages to GA4
- Swipe Pages → Adobe AnalyticsConnecting Swipe Pages to Adobe Analytics
- PPC agenciesClean conversion signal across every account you bid on
- Instapage → PostHogConnecting Instapage to PostHog
Free · 30 min
Get Swipe Pages and PostHog joined properly
Free30 minutesNo obligation
