Docs
Set up server-side conversion tracking in six steps.
EndFrame collects visits and actions first-party through one snippet, turns them into conversion goals, and forwards each conversion server-side to Meta, GA4, TikTok, or a webhook with a shared event ID for deduplication. The setup is designed to take about twenty minutes, with no server-side GTM container to host.
Quickstart
Step 01
Connect a domain
Add the hostname you want to measure. Each campaign belongs to a domain, so reporting breaks down per domain when you track several brands or client sites in one workspace.
Step 02
Create a campaign and install the snippet
Create a campaign with the inline editor, copy the generated snippet, and paste it into your site template. Traffic starts arriving in seconds.
Step 03
Map your UTM and query parameters
Tell EndFrame how utm_source, utm_medium, and custom parameters should normalize into clean reporting dimensions. Validation flags unmapped values early.
Step 04
Define a conversion goal
Choose an event match (a signup or purchase event) or a URL match (a thank-you page). Each conversion is credited to the campaign and source that earned it.
Step 05
Toggle a server-side destination
Turn on Meta Conversions API, GA4 Measurement Protocol, TikTok Events API, or a webhook. EndFrame forwards each conversion with hashed identifiers and a shared event ID for deduplication.
Step 06
Verify deliveries
Confirm conversions arrive in reporting, check each destination's delivery log, then check the platform's test-events view to see server events land and deduplicate.
Server-side destinations: what you need from each platform
Each destination is a toggle in the dashboard. Paste the credentials below, choose what to forward, and EndFrame handles hashing, event IDs, retries, and delivery logs.
Facebook & Instagram ads
Meta Conversions API
- Pixel (dataset) ID from Meta Events Manager
- Conversions API access token generated for that dataset
- Test Event Code from Test Events (needed only for Send test and Test mode)
Events carry SHA-256 hashed identifiers and a shared event ID, so Meta deduplicates them against your browser pixel.
Google Analytics 4
GA4 Measurement Protocol
- Measurement ID of the GA4 web data stream (G-XXXXXXX)
- Measurement Protocol API secret created under that stream
Conversions arrive as events on the GA4 property; mark them as key events in GA4 to report on them.
TikTok ads
TikTok Events API
- Pixel code from TikTok Events Manager
- Events API access token for that pixel
- Test Event Code from TikTok's test events view (needed only for Send test and Test mode)
Hashed email and phone plus the shared event ID give TikTok what it needs to match and deduplicate.
CRM, warehouse, or any endpoint
Custom webhook
- An HTTPS endpoint URL (private and loopback addresses are rejected)
- Optional custom headers and a signing secret
The same conversion payload fans out to your own systems, so a CRM or warehouse sees exactly what the ad platforms see.
Options available on every destination
- Label — a name for the destination shown in reporting and delivery logs.
- Send test — fires one sample Purchase through the platform's test path, whatever the Test mode setting, so a test never reaches live data. Meta and TikTok need a Test Event Code first.
- Test mode — routes all of this destination's events to the platform's test path: Meta and TikTok Test Events (requires a Test Event Code), GA4's validation endpoint, or a "test": true flag on webhook payloads so receivers can drop them.
- Forward page views — also send page-view events, not only conversions.
- Forward conversions — send goal conversions (on by default).
- Active — pause a destination without deleting its credentials.
How deduplication and hashing work
- 1Every server-side event carries an event ID. If your site passes an event_id in the action's metadata (the same value you give the browser pixel), EndFrame reuses it; otherwise it derives a stable ID from the recorded action.
- 2Meta and TikTok collapse a browser event and a server event that share an event ID and event name into one conversion, so running both paths recovers lost events without double counting.
- 3GA4 does not deduplicate on event IDs. EndFrame reuses the visitor's GA client ID when it is available so server-side events join the right session, and you should forward each conversion to GA4 from one source only.
- 4Email and phone identifiers are normalized and SHA-256 hashed per platform before they leave EndFrame. Browser-scoped values such as fbp and fbc are passed as-is, as Meta's specification requires.
- 5Deliveries are queued with automatic retries and exponential backoff, and every attempt is logged with its status per destination, so a rejected event is visible in the dashboard instead of silently dropped.
For the reasoning behind event IDs and match keys, read the server-side conversion tracking guide.
REST API and MCP server
On a paid plan, create a workspace-scoped API key on the Developers page of the dashboard (the REST API and MCP server are on by default) and authenticate with either an Authorization: Bearer header or an X-Api-Key header. The API is read-only, and responses are JSON.
| Method | Endpoint | Returns |
|---|---|---|
| GET | /api/v1/external/analytics/overview | Visits, actions, conversions, and engagement KPIs for a date range |
| GET | /api/v1/external/campaigns | List campaigns in the workspace |
| GET | /api/v1/external/campaigns/:id | One campaign with its mapping and activity summary |
| GET | /api/v1/external/domains | Connected domains |
| GET | /api/v1/external/goals | Conversion goals |
| GET | /api/v1/external/goals/:id | One goal with its configuration |
| GET | /api/v1/external/goals/:id/conversions | Conversions recorded for a goal |
MCP server tools
The MCP server speaks JSON-RPC 2.0 at POST /api/v1/mcp and answers tools/list and tools/call, so Claude, ChatGPT, or any Model Context Protocol client can query your campaign and conversion data with the same API key. Keys are read-only unless you turn on Can manage forms when creating one, which adds the form tools below. No tool can read form submissions.
get_analytics_overview
Get workspace totals for a date range (defaults to the last 7 days): visits, actions, conversions, and conversion rate, plus a daily series, top goals, campaigns, sources, and actions, and per-campaign summaries.
list_campaigns
List all campaigns in the workspace with their name, identifier, active status, domain, and parameter mapping.
get_campaign
Get one campaign's configuration, including its domain and parameter mapping.
list_domains
List all tracked domains in the workspace with their hostname, display name, tracking snippet, and campaign count.
list_goals
List all conversion goals in the workspace with their trigger type, configuration, and conversion counts.
get_goal
Get detailed information about a specific conversion goal including recent conversions.
query_visits
Page through the visits on one domain (domainId is required) for a date range, which defaults to the last 7 days. Returns page URL, referrer, linked campaign, device, browser, and location.
get_conversions
Get a goal's total conversions for a date range and the 20 most recent conversions with their details.
list_forms
List all forms with their kind, status, fields, settings, submission counts, and URLs. Needs a key with Can manage forms.
get_form
Get one form's fields, settings, submission counts, and URLs. Needs a key with Can manage forms.
create_form
Create a hosted or API form with default fields. Counts toward the plan's form limit. Needs a key with Can manage forms.
update_form
Change a form's name, status, fields, settings, linked domain, or allowed origins. Needs a key with Can manage forms.
Where things live in the dashboard
Reporting
Monitor visit and action volume, compare activity over time, and see which campaigns and sources are moving — with engagement time, scroll depth, language, and screen resolution breakdowns built in.
Use this area to spot movement, verify traffic quality, and understand audience engagement at a glance.
Conversion Goals
Define what counts as a win — a key event or a URL match — and EndFrame records each conversion against the campaign and source that earned it, with a per-campaign breakdown.
Use this area to measure what campaigns produce — signups, demos, purchases — instead of stopping at clicks.
Conversions API
Forward conversions and page views server-side to Meta, GA4, and TikTok — or any custom webhook — with hashed first-party data and an event ID, so a conversion your pixel missed can still reach the platform, if EndFrame's snippet recorded it.
Use this area to restore the match rates that signal loss erodes and feed ad platforms cleaner conversion data.
Realtime
An optional real-time view shows active visitors and top pages over the last few minutes, alongside reporting you can break down by geo, device, referrer, and UTM.
Use this area to check that a launch is landing and that tracking is still flowing.
Campaigns
Create, search, and maintain campaign entries with an inline editor, embed snippet preview with copy button, mapped parameters, activity signals, and one-click duplication.
Use this area to launch new campaigns, duplicate winning setups, and troubleshoot live activity.
Domains
See which domains are connected, how many campaigns they carry, and how much traffic and action volume each hostname is supporting.
Use this area to keep hostname setup clean before a launch and understand domain-level activity after it.
UTM & Parameters
On the dashboard's UTM & Parameters page, inspect how incoming UTM and query parameters are normalized, which identifiers need attention, and which validation signals are healthy or noisy.
Use this area to tighten naming, standardize source inputs, and make campaign reporting trustworthy.
Roles & Users
Manage workspace users, the role each one holds, and API keys without turning governance into a separate admin product.
Use this area to keep admin control tight: owners keep full access, and teammates you add get the read-only User role by default.
REST API & MCP
Pull analytics, campaigns, domains, goals, and conversions into BI tools and AI assistants through a read-only REST API and an MCP server, authenticated with workspace-scoped API keys. Available on paid plans.
Use this area to connect EndFrame to the rest of your stack — BI tools, AI workflows, and custom dashboards.
Setup questions
Do I need engineering help to set up tracking?
Usually not. Installing the tracking snippet is similar to adding a standard analytics tag, parameter mapping and conversion goals are configured in the dashboard, and server-side destinations are toggles that take platform credentials. There is no server-side GTM container to host, so most teams get started without an engineering project.
How do I confirm that my tracking is working?
After installing the snippet, use the reporting overview and campaign activity views to confirm visits and actions are arriving, and check the validation signals on the dashboard's UTM & Parameters page to make sure source identifiers look correct.
What is parameter mapping?
Parameter mapping defines how incoming query parameters are captured and normalized into clean, report-ready dimensions. It is what turns inconsistent raw inputs into source data you can actually trust in reporting.
Can I track multiple domains and brands?
Yes. You can connect multiple domains and run campaigns across them, with per-domain reporting on coverage and activity, which is helpful for teams and agencies managing several brands. Access control applies to the whole workspace; roles cannot be limited to individual domains.
How do I use the REST API?
On a paid plan, create a named API key on the Developers page of the dashboard and start making HTTP GET requests. The API is read-only, returns JSON, and covers analytics, campaigns, domains, goals, and conversions.
How do API keys work?
API keys are created and managed on the Developers page of the dashboard, and the REST API and MCP server accept them on paid plans. You can name each key, enable or disable it without deleting, and revoke it permanently. Keys are workspace-scoped, so they only access data within your workspace.
Next Step