Skip to Content
Track your Telegram conversions with Meta Ads - Get started in minutes!
Meta IntegrationCAPI Events

CAPI Events

This guide explains how to configure the Conversions API events AdTarget sends to Meta when users join your Telegram channel.

Available Event Types

AdTarget can send these standard Meta events:

EventBest ForMeta Optimization
LeadLead generation campaignsOptimizes for lead intent
CompleteRegistrationSignup-focused campaignsOptimizes for registration actions
SubscribeSubscription campaignsOptimizes for subscription intent
ContactInquiry campaignsOptimizes for contact actions

Choosing the Right Event

Running lead gen ads? Use Lead — This tells Meta “this person became a lead.”

Running signup campaigns? Use CompleteRegistration — Signals a completed signup action.

Promoting a channel subscription? Use Subscribe — Matches the user action (joining = subscribing).

Tip: Match your event type to your campaign objective in Ads Manager for best results.


Configuring Events

Set Default Event Type

  1. Go to Settings → Meta Integration in your dashboard
  2. Find Default Event Type
  3. Select your preferred event from the dropdown
  4. Click Save

All Telegram joins will send this event type.

Per-Channel Events (Optional)

You can override the default for specific channels:

  1. Go to Channels
  2. Click on a channel
  3. Under Meta Settings, select a different event type
  4. Click Save

Useful when different channels have different campaign objectives.


Event Parameters

Each event AdTarget sends includes these parameters:

Required Parameters

ParameterDescription
event_nameThe event type (Lead, etc.)
event_timeUnix timestamp of the join
action_sourceAlways “website”

Attribution Parameters

ParameterDescription
fbclidMeta click ID from the ad
fbcClick tracking cookie value
fbpBrowser tracking cookie value

User Data (Hashed)

If available, AdTarget sends hashed user data:

ParameterSource
external_idTelegram user ID (hashed)
client_ip_addressIP from landing page visit
client_user_agentBrowser from landing page visit

All user data is SHA-256 hashed before sending, as required by Meta.


Event Deduplication

AdTarget includes a unique event_id with each event to prevent duplicates:

event_id: "adtarget_{conversion_id}_{timestamp}"

This ensures the same conversion isn’t counted twice, even if retried.


Testing Events

Test Event Tool

  1. Go to Meta Events Manager 
  2. Select your Pixel
  3. Click Test Events
  4. Find your test server name
  5. In AdTarget, click Send Test Event
  6. Watch for the event in Events Manager

Test in Production

  1. Click your own ad (or use a test ad)
  2. Visit your landing page
  3. Join your Telegram channel
  4. Check Events Manager within 5 minutes

Event Matching

Meta matches your events to users for attribution. Higher match quality = better optimization.

Match Quality Factors

FactorImpact
fbclid presentHigh - Direct click attribution
User agent + IPMedium - Probabilistic matching
External IDMedium - Cross-device matching

Improving Match Quality

  1. Capture fbclid: Ensure your landing page URL preserves the fbclid parameter
  2. Send events promptly: Shorter time between click and conversion improves matching
  3. Consistent user journey: Keep users on your domain before redirecting to Telegram

Common Event Configurations

Lead Generation

Event Type: Lead When: User joins channel Use Case: "Get subscribers" campaigns

Content Subscription

Event Type: Subscribe When: User joins channel Use Case: "Subscribe to channel" campaigns

Multi-Channel Setup

Channel A (free content): Lead Channel B (premium): Subscribe Channel C (support): Contact

Troubleshooting

Events not matching?

  • Check fbclid is in the landing page URL
  • Verify Meta Pixel is also on the landing page
  • Ensure cookies aren’t blocked

Event quality score is poor?

  • Increase the data you send (IP, user agent)
  • Reduce time between click and conversion
  • Verify fbclid is being captured

Duplicate events?

  • AdTarget handles deduplication automatically
  • If seeing duplicates, contact support

Best Practices

  1. Match event type to campaign objective for better optimization
  2. Use the same event type consistently within a campaign
  3. Monitor event quality in Events Manager weekly
  4. Test before scaling ad spend

Next Steps

Your Meta integration is complete! Start running ads and watch your conversions flow into Meta.

Need help optimizing? Contact our support team.

Last updated on