All features
Feature · Tradly Attribution

when should a team use pixel or server-to-server tracking?

Pick the tracking method that fits each campaign: a checkout script, a 1×1 pixel, or direct API calls — all resolving to the same attribution engine.

Server-to-server API

The most reliable option. Your backend sends conversions with conversionKey, amount, sessionId, and eventId after checkout, refunds, or renewals.

  • POST /public/conversions and POST /conversions
  • POST /public/events for named events like purchase
  • Test locally with /sample-conversion.html

Pixel tracking

Drop a script or 1×1 GIF on the success page. GET /public/pixel.gif records the event while returning a transparent pixel — no backend work required.

  • Checkout success-page snippet from the Integration tab
  • Works with any CMS, cart, or landing builder
  • Session carried via stored affiliate_session

Mobile and web events

Mobile apps and SPAs send the canonical envelope to POST /v1/events with platform, app_id, click/session IDs, and consent flags.

FAQ

Which tracking method should I choose?

Use S2S for accuracy, pixel for speed of setup, and mobile events for installs and in-app purchases. Many vendors run S2S plus pixel as backup.

Does pixel tracking work with ad blockers?

Pixel requests can be blocked. S2S or mobile events bypass the browser and are recommended for revenue-critical conversions.

How do I test tracking?

Use /sample-conversion.html for browser tests and curl against /api/public/events for API tests.

Related guides and tools

  • Cross-Promotion Tracking

    Track internal cross-promotion across websites and mobile apps with campaign links, smart routing, click measurement, and conversion attribution.

  • Ecommerce

    Ecommerce affiliate tracking: checkout scripts, S2S conversions, orderRef dedupe, and automated commissions for stores and marketplaces.

  • Mobile Apps

    Mobile attribution for iOS and Android: smart deep links, install events, in-app purchases, and Universal Links / App Links support.

  • Referral Links vs Codes

    Choose referral links, manually entered codes, or both. Learn how to resolve conflicts, preserve referral identity, and test checkout and offline journeys.