Meta SDK

Last updated: May 22, 2026

The Meta SDK integration connects your app to Meta's (Facebook's) analytics and advertising infrastructure. Once enabled, you can log events from your website using the JavaScript Bridge — giving your Meta dashboard accurate, app-sourced data for campaign measurement and optimization.

Required Credentials

Both values are found in your Meta for Developers dashboard under your app's settings.

Meta App ID

The unique ID for your Meta app project.

  • Maximum length: 200 characters

Client Token

Used by the Meta SDK for secure API communication.

  • Maximum length: 200 characters

Where to find both:

  1. Go to developers.facebook.com and open your app.
  2. Navigate to Settings → Basic.
  3. Copy the App ID and Client Token.

Logging Events

Once the Meta App ID and Client Token are entered, the SDK is active. Custom events are logged from your website using the JavaScript Bridge. See the Logging Meta Events article for full implementation details and examples.

Events logged through the bridge appear in your Meta Events Manager and can be used for:

  • Measuring conversion rates from ad campaigns
  • Building custom audiences for retargeting
  • Optimizing ad delivery toward users who complete specific actions