Ads Tracking

Pixel-perfect tracking and attribution for Maloum

Fire server-side conversion events to Meta, TikTok, Snapchat and Google the moment a fan converts on your Maloum trial link. Kill losing ads, scale winners, forget iOS 14.

MetaMeta
TikTokTikTok
SnapchatSnapchat
GoogleGoogle Ads
GoogleGoogle Ads
Meta Pixel + Conversions API

Meta Pixel + Conversions API

Server-side Purchase, Subscribe and Lead events with automatic deduplication against the browser Pixel. Hashed PII, fbc/fbp passthrough, EMQ 9+ out of the box.

TikTok Events API v1.3

TikTok Events API v1.3

Trial-link clicks and conversions posted to TikTok Events API with ttclid and hashed identifiers. Custom events for tips, PPV and rebills.

Snapchat CAPI

Snapchat CAPI

Snap Pixel plus server-side Snap Conversions API. Hashed email and IP, sc_click_id propagation, dedup with event_id.

Google

Google & GA4

Server-side GA4 measurement protocol events for teams running Google Ads alongside Meta.

Trial-link revenue

Every trial link tracks first-touch and last-touch attribution with 99.9% accuracy across 30-day cookie windows.

ROAS by creator

Live dashboards for CPA, ROAS, LTV cohorts and payback period per creator, per ad account, per campaign.

Sub-affiliate tracking

Pass sub1-sub5 params through trial links and back up to the traffic partner via postback.

Attribution stack integrations

Native connectors for Triple Whale, Hyros, Northbeam and RedTrack. No CSV uploads.

Consent-mode ready

IAB TCF v2.2 and Google Consent Mode v2 flags respected end-to-end, so you stay EU-compliant without losing signal.
meta-capi.ts
typescript
await fetch("https://app.maloumapi.com/api/ads/meta/events", {
  method: "POST",
  headers: { "Authorization": "Bearer sk_live_...", "Content-Type": "application/json" },
  body: JSON.stringify({
    pixel_id: "1234567890",
    event: {
      event_name: "Purchase",
      event_time: Math.floor(Date.now() / 1000),
      event_id: "maloum_sub_abc123",
      user_data: { em: ["<sha256(email)>"], fbc: "fb.1.1699.abc", fbp: "fb.1.1699.987" },
      custom_data: { currency: "USD", value: 24.99 },
    },
  }),
});
tiktok-events.ts
typescript
await fetch("https://app.maloumapi.com/api/ads/tiktok/events", {
  method: "POST",
  headers: { "Authorization": "Bearer sk_live_...", "Content-Type": "application/json" },
  body: JSON.stringify({
    pixel_code: "C4XXXXXXXXXXXXX",
    event: "CompletePayment",
    event_id: "maloum_sub_abc123",
    context: { user: { email: "<sha256(email)>" }, ad: { callback: "<ttclid>" } },
    properties: { currency: "USD", value: 24.99 },
  }),
});

Snap CAPI, GA4 Measurement Protocol, Reddit and Pinterest CAPI use the same shape - see the docs for full payloads.

Frequently asked questions

Ready to build on Maloum?

Get API keys, docs and MCP access in one click. Free trial, no credit card.