# Measurement Partners | Developer Documentation

<div id="bkmrk-measurement-partners">## Measurement Partners

<div><span>Updated: Dec 12, 2025</span></div><div>A Measurement Partner is a third-party company that helps businesses measure the effectiveness of their marketing campaigns on our platform.</div><div>Measurement Partners gain read-only access to WhatsApp Business Account (WABA) analytics data and webhooks. Specifically, they can view phone numbers, message templates, and incoming messages, and can access WABA analytics data.</div><div>For a business to share their analytics data with a Measurement Partner, they must already have a WABA. Measurement Partners cannot create WABAs or send messages on behalf of their clients.</div><div id="bkmrk-onboarding-flow-over"><div id="bkmrk-onboarding-flow-over-1"><div>### Onboarding flow overview

</div></div></div><div>Follow these steps to onboard as a Measurement Partner:</div>
<span>[Complete Tech Provider onboarding.](/books/meta-whatsapp/page/become-a-tech-provider-developer-documentation)</span><span>Create your Facebook Login Button using the Measurement Partner ES template instructions below</span><span>Embed the Facebook Login Button on your website</span><div id="bkmrk-how-to-create-facebo"><div id="bkmrk-how-to-create-facebo-1"><div>### How to create Facebook Login button using the Measurement Partner ES template

</div></div></div><div>Follow the steps below to create your Facebook Login button that will show the Measurement Partner ES flow to your customers.</div><div id="bkmrk-step-1%3A-load-the-fac"><div id="bkmrk-step-1%3A-load-the-fac-1"><div>### Step 1: Load the Facebook JavaScript SDK

</div></div></div><div><span></span><div>See [Basic Setup](https://developers.facebook.com/docs/javascript/quickstart#loading) for instructions on loading the basic version of the Facebook JavaScript SDK with the options set to their most common defaults.</div></div><div>The `fbAsyncInit` function must be attached to the `window` object before the line of code loading the JavaScript SDK as the SDK calls this function to set up the Facebook Login information.</div><div>This setup uses the following parameters:</div>
<span>`appId` - The Meta app ID</span><span>`cookie` - Enables cookies to allow the server to access this session</span><span>`xfbml`- Parses social plugins on the page</span><span>`version` - The Graph API version to use</span><div id="bkmrk-step-2%3A-create-faceb"><div id="bkmrk-step-2%3A-create-faceb-1"><div>### Step 2: Create Facebook Login for Business Configuration

</div></div></div><div id="bkmrk-prerequisites"><div id="bkmrk-prerequisites-1"><div>#### Prerequisites

</div></div></div>
<span>You should have created an app in the App Dashboard on [https://developers.facebook.com/](https://developers.facebook.com/)</span><span>Add the **[Facebook Login for Business](https://developers.facebook.com/docs/facebook-login/facebook-login-for-business)** product to your app</span><span>Follow [best practices](https://developers.facebook.com/docs/facebook-login/security#enablejssdk) on how to set up **Client OAuth settings**, specifically settings like *Valid OAuth Redirect URIs* and *Allowed Domains for the JavaScript SDK*</span><div id="bkmrk-process"><div id="bkmrk-process-1"><div>#### Process

</div></div></div>
<span>In the **App Dashboard**, under **Facebook Login for Business**, click **Templates**</span><span>Click the **Use template** button for the **WhatsApp Measurement Partner** template.</span><span>Since all the template configuration details have been set, simply click **Create from template**</span><span>Copy and retain the **Configuration ID** and set this value in the Facebook Login Button script in the next step.</span><div id="bkmrk-step-4%3A-create-a-log"><div id="bkmrk-step-4%3A-create-a-log-1"><div>### Step 4: Create a login button

</div></div></div><div>Create a button or link on your website to launch the Embedded Signup flow. Use the `onClick` function to call the `launchWhatsAppSignup()` function set up in Step 3 above.</div><div id="bkmrk-embed-your-new-faceb"><div id="bkmrk-embed-your-new-faceb-1"><div>### Embed your new Facebook Login button

</div></div></div><div>Copy the button code to the desired location on your site.</div><div id="bkmrk-testing-the-embedded"><div id="bkmrk-testing-the-embedded-1"><div>### Testing the Embedded Signup flow for Measurement Partners

</div></div></div>
<span>On the sidebar under **WhatsApp**, click **ES Integrations** and then scroll down to **Embedded sign-up launch**.</span><span>Under **Embedded sign-up dialog**, choose your Measurement Partner config and click **Login with Facebook**.</span><span>Follow the prompts to test the sign-up flow.</span></div>