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

1

Generate Meta Access Token

  1. Log into your Meta Business Manager

  2. Go to Events Manager

  3. Select your Pixel

  4. Navigate to the Settings tab

  1. Copy Dataset ID and save it (marked as step 3)

  2. Copy Business ID and save it (marked as step 2)

  3. Find the “Conversions API” section

  1. Click “Generate access token”

  2. Copy the generated token

Keep your access token secure and don’t share it publicly. It provides direct access to your Meta Pixel data.

2

Deploy CAPI Server in Hardal

  1. Log into your Hardal dashboard

  2. Navigate to “Server-Side Hosts”

  3. Click on “Deploy” button to create a CAPI server

  1. You should receive an invitation to Hardal Meta CAPI Dashboard account. If no invitation is received, request access via here.
3

Connect Hardal to Meta Pixel

Navigate to Hardal Meta CAPI Dashboard for below steps
  1. Navigate to Data Pipelines and click to Create Data Pipeline
  1. Choose “Conversions API Gateway Pipeline” and click Create
  1. Continue with Manuel Connection

  2. Insert all information into related spaces

  1. Click Connect
4

Enable First-Party Tracking

  1. Click on Account Settings
  2. Navigate to “Data Routing”
  1. Click on “Optimize”
  2. Insert your custom capi domain, if you do not have one refer to DNS Settings
  1. Click on “Continue”

Congratulations! You have succesfully deployed a Meta CAPI connection to your Meta Pixel via Hardal.

We highly recommend setting up Meta CAPI tag via sGTM if you are using Google Tag Manager for best Meta CAPI performance. This will dramatically improve the Meta CAPI performance.

Troubleshooting

Common Issues