Skip to content

Documentation

Your first tracked conversion.

A practical guide to connecting your traffic source, your site, and the events you want to measure.

Start here

Before you start

You need a verified Trakio account with an active subscription, a traffic source, and a destination website where you can preserve a click ID and report conversions.

Trakio records the ad click and sends the visitor to your site with cid in the URL. Your site must keep that value and send it back when a conversion happens. Trakio uses it to attribute the event to the original campaign visit.

Sign in to your dashboard

Create a campaign

  1. Add your traffic source and configure the source tokens and outbound postback settings you need.
  2. Create an offer for your destination site, then create a campaign using that offer and traffic source.
  3. Open the campaign setup and copy the generated tracking URL. Use the exact URL and macros shown there in your ad platform.
  4. Run the setup test before sending paid traffic.

Use the tracking hostname shown in your campaign setup. The public site and dashboard addresses are not replacements for that generated campaign link.

Preserve the click ID

When the visitor arrives, read cid from the destination URL. Keep it with the registration or order on your site so it survives until the conversion event.

https://your-site.example/offer?cid=CLICK_ID_FROM_TRAKIO

If your site redirects again, carries the visitor through a signup flow, or completes the purchase later, make sure the same click ID remains available. Never replace it with an ad-platform click token or an order ID.

Send conversions from your server

Use authenticated server-to-server conversion intake when you control the site backend. Your Trakio operator must provision the conversion webhook secret. Keep it on your server, never in browser JavaScript or GTM.

POST https://trakio.org/api/conversions
Authorization: Bearer YOUR_CONVERSION_WEBHOOK_SECRET
Content-Type: application/json

{
  "cid": "CLICK_ID_FROM_TRAKIO",
  "event_id": "order-1042-purchase",
  "event_type": "purchase",
  "occurred_at": "2026-10-21T10:30:00Z",
  "value_minor": 1299,
  "currency": "USD"
}

This example uses placeholders. Replace the click ID, secret, event ID, timestamp, and values with the real event details. Send an ISO 8601 timestamp with an explicit timezone, preferably UTC.

cid
The original click ID passed to your site.
event_id
A stable, unique identifier for this event. Reuse it when retrying the same conversion. Use a different value for another event.
event_type
The event name you configured, such as purchase, reg, or ftd.
value_minor / currency
An integer amount in the currency’s minor units, plus its currency code. Here 1299 USD minor units means $12.99.

An accepted event returns status: accepted with a conversion ID. A recognized retry returns status: duplicate. Check the response when your backend sends an event.

Use an existing GTM postback workflow

For a Voluum-compatible browser or GTM integration, the public postback endpoint accepts the recorded click ID as cid and the event type as et. Include a unique txid to distinguish transactions.

https://trakio.org/postback?cid=CLICK_ID_FROM_TRAKIO&et=reg&txid=registration-1042

Use the integration snippet in your campaign setup and replace the placeholders with the values from your site. URL-encode parameter values. This endpoint is public; it does not use the server-side bearer secret. Unknown click IDs are rejected.

Keep transaction identifiers stable for retries and unique for later transactions. Configure your conversion definitions to match the event values your site sends.

Verify the full loop

  1. Open the campaign tracking link and confirm that your site receives cid.
  2. Complete a controlled conversion on your site using that click ID.
  3. Check the campaign’s recent conversions for the expected event.
  4. Check delivery health for the outbound postback result.
  5. Retry the same event with the same event identifier and confirm it does not increase the conversion count.

Check both attribution in Trakio and receipt at the traffic source. A recorded conversion and a delivered postback are separate outcomes.

When a result is missing

The click ID is missing.

Check each redirect and signup step on your site. Confirm that your event uses the exact cid received from the tracking link.

The event was rejected.

Inspect the response. Check the secret for server requests, the required event fields, and whether the click ID exists. Do not send secrets in support screenshots.

The event exists, but the total looks wrong.

Check the selected campaign, date range, reporting timezone, and event filter. Compare those filters with the timestamp and event on the individual record.

The ad platform did not receive the event.

Open delivery health. Check whether a postback was queued, its failure reason, and the traffic source’s external click token. Retry after correcting the configuration.

Account and billing

After signup, confirm your email before signing in. Choose a paid plan in the dashboard and continue to NOWPayments for USDT on TRC20.

Pay the amount shown by NOWPayments on the specified network. Its checkout includes applicable provider fees; your wallet or exchange may charge a separate transfer fee. Trakio activates the subscription after the provider confirms payment.

The payment return page checks your invoice status. If it still shows pending, allow the provider to finish confirming the transfer before trying another payment.

Review plans and payment details

Connect your tools with the Customer API

Operator and Expanded accounts can create API keys from Dashboard → Profile. Choose read-only access for reporting agents or read and write access when a tool must change workspace settings. You can revoke a key at any time. Trakio shows the key only once, so store it in your server’s secret manager.

Base URL: https://app.trakio.org/api/v1
Authorization: Bearer YOUR_TRAKIO_API_KEY

Do not put API keys in browser code, public repositories, prompts shared outside your account, or client-side tracking tags. Send requests over HTTPS and keep one key per integration so you can revoke access independently.

Available endpoints

GET /me
Read the account ID, email, and timezone.
GET /overview
Read dashboard metrics. Accepts from, to, campaign, source, and event filters.
GET /campaigns
List campaign configuration and performance. POST /campaigns creates a campaign. Resource lists accept limit (default 50, maximum 100) and offset (maximum 10000).
PATCH /campaigns/{id}
Change campaign status. POST /campaigns/{id}/setup-test creates a test click.
GET /campaigns/{id}/report
Read campaign metrics, daily totals, recent clicks and conversions, and delivery failures.
GET /activity/clicks
Read click activity. GET /activity/conversions reads conversion activity. Both accept limit and cursor; limit is capped at 100.
POST /conversions
Send an authenticated server-to-server conversion using the same click ID, stable event ID, event type, timestamp, value, and currency fields described above. A repeated event ID returns the original accepted result.
GET, POST /offers
List offers and performance, or create one. PATCH /offers/{id} updates an offer. Lists accept limit and offset.
GET, POST /traffic-sources
List and create sources. PUT /traffic-sources/{id} updates a source. Responses omit credential values. Lists accept limit and offset.
GET /traffic-sources/{id}/report
Read all-time visits, conversions, and event counts for an owned traffic source.
GET, POST /custom-conversions
List and create conversion rules. PATCH or DELETE /custom-conversions/{id} updates or removes a rule. Lists accept limit and offset.
GET /delivery-health
Read delivery status using limit and cursor. POST /delivery-health/{id}/retry retries an eligible failed postback.
PATCH /profile/timezone
Update the account reporting timezone.

Example

curl https://app.trakio.org/api/v1/overview \
  -H "Authorization: Bearer $TRAKIO_API_KEY"

Read-only keys can call GET endpoints. Read and write keys can also create or change resources, send conversion events, update the timezone, run a campaign setup test, and retry eligible deliveries. Requests are always limited to the account that owns the key. Each key is limited to 120 requests per minute; a limit response uses HTTP 429 and includes Retry-After. Responses include an x-request-id for support and troubleshooting.

The existing authenticated POST /api/conversions contract above remains available to sites using the separately provisioned webhook secret. You can use either that endpoint or POST /api/v1/conversions with an API key for a given integration. Never send either credential from browser JavaScript.