?cnfy_click_id=clk_....
By capturing this click ID and firing a conversion event when the visitor signs up or checks out, you can attribute revenue and conversion rates directly to specific links, campaigns, or A/B test variants.
How it works
- Capture: When the visitor lands on your site, read
cnfy_click_idfrom the URL parameters. - Persist: Save the click ID to a 30-day first-party cookie named
_cnfy_cid(SameSite=Lax; Secure) so it survives multi-page navigation. - Fire event: When a goal happens (signup, lead form submit, purchase), send the click ID to
POST https://connextify.com/api/v1/analytics/convert.
Client-side tracking snippet
Add this lightweight script tag inside the<head> of all pages on your website:
cnfy_click_id tokens from the URL, writes the first-party cookie, and strips the query parameter from the browser address bar for clean analytics.
Code examples
1. Lead or signup form
2. E-commerce checkout confirmation
Server-to-server tracking
If you verify payments or activate accounts asynchronously on your backend (e.g. from a Stripe webhook), you can report conversions directly from your server. Just pass the visitor’scnfy_click_id along with their signup payload:
Server-side conversion calls do not require an
Authorization header. The cnfy_click_id token is cryptographically signed and maps directly to the originating short URL, campaign, and user account.Closed-Loop CAPI Conversion Relay
When a conversion is recorded (either via the client SDK or direct API call) for a visitor who originated from a short link or dynamic QR code with Meta CAPI or TikTok Events API pixels attached, Connextify’s background workers perform an automated closed-loop relay:- Click Context Lookup: The worker reads the cached click context (
click_capi:${clickId}) to identify which ad pixels were present on the originating link. - Server-to-Server Event Dispatch: Connextify formats and sends a server-side
Purchaseevent directly to Meta Graph API and TikTok Events API. - Deterministic Match Data: The payload includes the original click ID (
fbclidconverted to_fbc,ttclid), client IP address, and browser user agent. - Zero-Setup Server ROAS: You receive 100% verified ad platform attribution and return on ad spend (ROAS) reporting in Meta Ads Manager and TikTok Ads Manager without configuring server-side Google Tag Manager (sGTM) containers.