Meta Pixel Setup
This guide shows you how to connect your Meta Pixel to AdTarget for conversion tracking.
Prerequisites
- A Meta Business account
- A Meta Pixel (we’ll show you how to create one if needed)
- Admin access to your Business Manager
Step 1: Find Your Pixel ID
If You Have an Existing Pixel
- Go to Meta Events Manager
- Select your Pixel from the data sources list
- Your Pixel ID is shown at the top (a 15-16 digit number)
If You Need to Create a Pixel
- Go to Meta Events Manager
- Click Connect Data Sources
- Select Web
- Choose Meta Pixel
- Enter a name for your pixel
- Click Create Pixel
- Copy the Pixel ID
Step 2: Add Pixel to AdTarget
- Go to your AdTarget dashboard
- Navigate to Settings → Meta Integration
- In the Pixel ID field, paste your Pixel ID
- Click Save
Step 3: Create a System User Token
To send server-side events, you need a Conversions API access token.
Create a System User
- Go to Business Settings
- Click Users → System Users
- Click Add
- Enter a name (e.g., “AdTarget CAPI”)
- Set role to Admin
- Click Create System User
Assign Pixel Access
- Click on your new system user
- Click Add Assets
- Select Pixels
- Choose your pixel
- Enable Manage Pixel permission
- Click Save Changes
Generate Access Token
- Click Generate New Token
- Select your app (or create one if needed)
- Check these permissions:
ads_managementads_read
- Click Generate Token
- Copy the token immediately (you won’t see it again)
Step 4: Add Token to AdTarget
- In AdTarget, go to Settings → Meta Integration
- Paste your access token in the CAPI Token field
- Click Save
- AdTarget will verify the connection
Verify Your Setup
After saving your settings:
- Click Test Connection in AdTarget
- AdTarget sends a test event to your pixel
- Check Events Manager for the test event
Success indicators:
- Green checkmark in AdTarget
- Test event visible in Events Manager
- Event quality score shows “Good” or better
Troubleshooting
“Invalid Pixel ID”
- Make sure you copied the full 15-16 digit number
- Check there are no spaces before or after
“Invalid Access Token”
- Tokens can only be viewed once when created
- If lost, generate a new token
- Ensure the token has the required permissions
“Pixel not found”
- Verify the system user has access to the pixel
- Check Business Manager permissions
Events not appearing in Events Manager?
- Wait 5-10 minutes for events to process
- Check the “Test Events” tab for debugging
- Verify no event filtering is hiding the events
Event Quality Score
Meta rates your events based on data quality:
| Score | Meaning |
|---|---|
| Good | Excellent match rate, optimal for optimization |
| OK | Acceptable, some matching issues |
| Poor | Low match rate, check your setup |
To improve event quality:
- Ensure fbclid is captured from ad clicks
- Use consistent event naming
- Send events promptly after conversions
Next Steps
Now that your pixel is connected, configure which CAPI events to send.
Last updated on