Facebook Pixel API Setup
This guide will walk you through setting up Facebook Pixel API for conversion tracking and event management.
This method is suitable for running Gambling offers through PWA.
Step 1: Create Pixel API Conversion
Create a Pixel API conversion and name it based on your domain + GEO for convenience.

After creation, go to the Event Manager.
📝 Note: If you do not use Business Manager, you can go directly to Event Manager, create a pixel and configure it according to the instructions.




Select two main events for tracking:
- Completed Registration
- Purchase

Completed Registration Event Configuration
For the "Completed Registration" event:
- Event Data Parameters: Select Event ID
- Customer Data Parameters: Select All Events

Purchase Event Configuration
For the "Purchase" event:
- Event Data Parameters: Select Event ID
- Customer Data Parameters: Select All Events

- After creating the pixel, go to its settings
- Scroll down and click Generate Token
- Save the generated token in your notes
- Add the token to your PWA settings or share it with your manager
Important Notes:
- Keep your access token secure and never share it publicly
- Test your pixel implementation before going live
- Monitor event tracking in Facebook Events Manager
- Ensure compliance with data privacy regulations