WebToAppMaker

Analytics and Tracking

Meta SDK

Initialize the Meta Android SDK and log app events from website JavaScript.

Before you start

  • Meta developer app
  • Meta App ID and Client Token
  • Event and privacy policy

Configure and verify

  1. Create or select the Meta app

    Open Meta for Developers and use the app intended for this mobile product.

  2. Copy credentials

    Copy App ID and Client Token from the app settings.

  3. Enable and save

    Turn on Meta SDK, enter both values, save, and rebuild.

  4. Verify initialization

    Install the APK and use Meta Events Manager test tools to confirm the app connects.

  5. Log events

    Call webtoapp.logMetaEvent with approved non-sensitive parameters.

Android build behavior

When App ID is present, the worker includes the Meta SDK dependency, adds manifest metadata and string resources, initializes the SDK, and exposes event logging.

Privacy

Test before release

  • Credentials belong to the correct Meta app
  • Test event arrives
  • No personal data is sent
  • Consent and store disclosures are complete