Create Pixel Profile
Pixel Retargeting
Create Pixel Profile
Create a reusable tracking pixel profile with optional Server-Side CAPI credentials
POST
Create Pixel Profile
Create a new reusable pixel profile for audience retargeting and analytics tracking. Once created, attach the pixel profile UUID to any short link via
pixel_ids: ["YOUR_PIXEL_UUID"] or to any dynamic QR code.
Server-Side Conversions API (CAPI)
For Meta, TikTok, and Google Analytics, providing an
For Meta, TikTok, and Google Analytics, providing an
access_token and api_secret enables server-to-server CAPI delivery. On Pro and Business accounts, server CAPI executes an instant HTTP 302 redirect with 0ms latency that bypasses browser ad blockers and Safari ITP cookie restrictions.Body Parameters
Required Parameters
Descriptive name for the pixel profile (1-100 characters).Example:
Holiday Meta RetargetingAd network platform:
facebook: Meta (Facebook & Instagram) Pixelgoogle: Google Analytics 4 (Measurement ID)gtm: Google Tag Manager Container ID (GTM-XXXXXX)tiktok: TikTok Pixellinkedin: LinkedIn Insight Tagtwitter: Twitter/X Ads Pixelpinterest: Pinterest Tagmicrosoft: Microsoft Advertising (UET Tag)snapchat: Snapchat Pixelreddit: Reddit Pixelclarity: Microsoft Clarityquora: Quora Pixelposthog: PostHog Analyticsplausible: Plausible Analytics
The external Pixel ID, Tag ID, or Measurement ID (1-2000 characters).Example:
123456789012345 or G-ABCDEF1234Optional Parameters
Access token for Server-to-Server Conversions API (e.g. Meta Graph API system user token).
API secret key for Conversions API (e.g. Google Analytics 4 Measurement Protocol API Secret).
Optional test code from Meta Events Manager (Test Events tab) or TikTok Events Manager to verify live delivery in the platform’s debugging console.
Pixel event dispatch mechanism:
auto: Automatically selects server CAPI if API credentials exist, otherwise falls back to browser interstitial.server: Strictly enforces Server-Side Conversions API (0ms redirect delay).client: Uses 250ms interstitial page to load client-side tags in the browser.
Pre-Save Credential Validation
When
When
delivery_mode is server or credentials (access_token, api_secret) are supplied, Connextify performs a live test ping against the target ad network. If Meta, TikTok, or Google rejects the token, the request returns a 400 VALIDATION_ERROR with status rejected and the platform’s diagnostic message, ensuring broken credentials never enter production.Response
Indicates if the pixel profile was created successfully.
The newly created pixel profile.
Request Examples
- cURL
- JavaScript
- Python