Skip to content
SIGNAL RECOVERY & CAPI

Server-Side Signal Recovery: SHA-256 Write-Back for Meta CAPI v19.0, Google OCI, TikTok & LinkedIn

Technical blueprint for capturing 1st-party click IDs at the edge, hashing PII with Web Crypto SHA-256, and streaming uncredited Stripe checkouts back to ad auctions.

Server-Side Signal Recovery: SHA-256 Write-Back for Meta CAPI v19.0, Google OCI, TikTok & LinkedIn

When iOS Safari Intelligent Tracking Prevention (ITP), ad blockers, or cross-domain payment redirects strip browser pixel events, paid media teams suffer a silent penalty: your highest-intent buyers complete checkout in Stripe, but the ad platform never receives the conversion signal.

Without deterministic server-side recovery, Meta Advantage+, Google Performance Max, TikTok Smart Performance, and LinkedIn Campaign Manager starve your best-performing creatives of budget.

Step 1: 1st-Party Edge Click Capture (/api/collect/script.js)

Client-side document.cookie scripts are capped at 7 days (or 24 hours when decorated with link-tracking parameters) in WebKit browsers. Skewix solves this at the edge with a 1.4 kB collector script that captures:

  • Meta Ads: fbclid, _fbp, and formatted _fbc click cookies
  • Google Ads: gclid, gbraid, and wbraid
  • TikTok Ads: ttclid
  • LinkedIn Ads: li_fat_id (FIRST_PARTY_ADS_TRACKING_UUID)
  • Microsoft Advertising: msclkid

These identifiers are persisted in 1st-party storage and injected directly into your Stripe Checkout metadata or HubSpot deal properties.

Step 2: Web Crypto SHA-256 Normalization

When Stripe fires a charge.succeeded webhook or HubSpot marks a deal closedwon, Skewix checks whether the originating ad platform credited the conversion. If the browser pixel dropped the event, Skewix normalizes customer PII (lowercased, whitespace-trimmed email and E.164 phone number) and computes cryptographic SHA-256 digests using the native Web Crypto API on Cloudflare Workers.

Plaintext PII never leaves your tenant boundary.

Step 3: Multi-Platform CAPI & OCI Dispatch

With one click—or via automated daily recovery rules on the Growth and Enterprise tiers—Skewix dispatches verified server-side payloads across all four major conversion APIs:

  1. Meta Conversions API (CAPI v19.0): Streams Purchase events to graph.facebook.com/v19.0/{pixel_id}/events with em, fbc, fbp, and a deterministic event_id (skewix_capi_{charge_id}), persisting the returned fbtrace_id receipt.
  2. Google Ads Enhanced Conversions (OCI v17): Uploads gclid + hashedEmail conversions to uploadClickConversions with exact net-of-refund currency values.
  3. TikTok Events API v1.3: Dispatches CompletePayment payloads with ttclid and SHA-256 email match keys.
  4. LinkedIn Conversions API: Streams B2B deal values matched via li_fat_id and SHA256_EMAIL.

Start recovering dropped conversion signals today: Start your 14-Day Free Trial.