Meta Conversions API Gateway
Connect Hardal to Meta Pixel using Conversions API for improved tracking accuracy
Overview
Meta Conversions API (CAPI) integration with Hardal enables server-side event tracking for improved accuracy and reliability of your Meta Pixel data. This integration provides more reliable conversion tracking for your Facebook/Instagram ads.
Prerequisites
Before setting up the CAPI integration, ensure you have:
-
Completed Hardal setup on your website
-
Access to Hardal Dashboard
-
A Meta Business Manager account
-
A Meta Pixel
You must have admin access privileges in your Meta Business Manager to generate the required access token.
Setup Process
Generate Meta Access Token
-
Log into your Meta Business Manager
-
Go to Events Manager
-
Select your Pixel
-
Navigate to the Settings tab
-
Find the “Conversions API” section
-
Click “Generate access token”
-
Copy the generated token
Keep your access token secure and don’t share it publicly. It provides direct access to your Meta Pixel data.
Deploy CAPI Server in Hardal
-
Log into your Hardal dashboard
-
Navigate to “Server-Side Hosts”
-
Click on “Deploy” button to create a CAPI server
-
If you do not have a Hardal Meta CAPI Dashboard account, request access via here. If you have one, continue to dashboard and process to Step 3
Connect Hardal to Meta Pixel
-
Navigate to Data Pipelines and click to Create Data Pipeline
-
Choose “Conversions API Gateway Pipeline” and click Create
-
Continue with Manuel Connection
-
Insert all information into related spaces
-
Meta Business ID: This can be found in your Meta dataset’s Settings, under Details > Owner.
-
Dataset ID: This can be found in your dataset’s Settings, under Details.
-
Access Token: This was created on Step 1
-
-
Click Connect
Test the Connection
-
Open your Meta Events Manager
-
Check that events are being received via both browser (pixel) and server (CAPI)
If you’ve already set up a custom domain in Hardal, ensure it matches the domain registered with your Meta Pixel.
Event Mapping
Hardal automatically maps standard events to their Meta Pixel equivalents:
Hardal Event | Meta Pixel Event |
---|---|
page_view | PageView |
add_to_cart | AddToCart |
purchase | Purchase |
sign_up | CompleteRegistration |
view_content | ViewContent |
Troubleshooting
Common Issues
Need Help?
If you need assistance with your Meta CAPI integration:
-
Contact Hardal support: support@usehardal.com
-
Meta CAPI documentation: Meta Developer Docs
-
Hardal documentation: docs.usehardal.com
Was this page helpful?