Stape
Search
Try for free

How to set up Meta Conversions API Gateway

Updated
Nov 27, 2024
Published
Oct 1, 2021
Also available in

Step 1. Stape account.

1. Create an account at Stape:

  • Click on this link.
  • Write down your email and Conversions API Gateway name
  • Choose Conversions API Gateway server location. We offer several server locations: the United States, Europe, South America, and Asia Pacific, Asia Northeast.
  • Click the button Create.
create conversions api gateway in stape

2. But, if you already have an account at Stape:

  • Click FB CAPI Gateways in the main menu and Create CAPIG on the top right.
  • Add the Conversions API Gateway name and the email address you'd like to use for managing the Conversions API Gateway environment.
  • Select the server location.
create conversions api gateway in stape account

Step 2. Subscription plan.

Choose the Conversions API Gateway subscription you’d like: 

  • Pay as you go. $10 per month per pixel.
  • Unlimited. $100 per month for 100 pixels.

You can also start with a 7-day free trial for both subscription plans.   

Step 3. Finish registration.

  1. Add Billing details.
  2. You should have been sent an email invitation to create an account in the CAPIG hub to the email address you provided during registration on stape. If you haven't received the email, please log in to your stape account, access CAPIG, and click on "Finish CAPIG Setup" located in the top right corner.
  3. Create an account in the Meta Conversions API Gateway hub by adding an email address and password.
finish registration of conversions api gateway in stape

You will see your own Conversions API Gateway environment, where you can manage Conversions API for your pixels and domains.

Step 4. Connect your Pixel.

1. All you have to do is click a button that says "Add data source".

add data source in conversions api gateway

2. Authorize in Meta and select the Business Manager and Pixel you want to connect.
Please consider enabling Automatic advanced matching. It will increase the match quality of events. If you enable Automatic advanced matching, click Show customer information parameters and select the parameters you want to share. 

Automatic advanced matching

Step 5. Optional: add custom domain.

Using a custom domain or data routing within your CAPI Gateway hub can boost measurement performance. The data routing feature lets you specify the subdomain through which the pixel communicates with the Conversions API Gateway. Your custom domain should mirror the subdomain of the primary domain used for firing the Facebook pixel. For instance, if your website is example.com, then your CAPI Gateway custom domain should be capig.example.com.

1. Click Data Routing on the left menu.

2. Click Optimize.

3. Write down the subdomain and domain names. Click Continue.

4. This step will require you to define DNS settings for the custom domain. Ensure you can make changes through the DNS provider before proceeding.

add custom domain in your capig

5. Log in to your DNS provider and set records (if you use Cloudflare, the settings should look like on the screenshot). 

Example of DNS record

Step 6. Optional: Add new pixels.

  1. Log in to your Stape account.
  2. Choose your Gateway container.
  3. Find your Conversions API Gateway URL and log in. 
  4. Click Add data source and select the pixel.
add new pixels to your conversions api gateway environment

Step 7. How the finished setup looks like.

You will see your Meta Pixel in the Conversions API Gateway interface. 

Meta Pixel in the Conversions API Gateway interface

Step 8. Test your setup.

Within 30 minutes of connecting your pixel to the CAPIG hub, you should notice that the event count is no longer zero, and you should also see the names of the events that have been received. 

Meta Pixel in the Conversions API Gateway interface

You can also verify that events are sent correctly to the CAPIG hub by checking the website console:

  1. Open your website’s console.
  2. Check that events were sent to your Conversions API Gateway URL (look at the screenshot below).
  3. If you use the default Conversions API Gateway URL, then it will be the url of CAPI GW, for example, http://capig.stape.biz/.
send events to your capig and check website console

[Video guide] How to create Meta CAPIG from scratch!

Conclusion

The Meta Conversions API Gateway offers a simple solution for establishing server-side tracking through Meta. Say goodbye to the hassle and expense of complicated configurations. With CAPI Gateway, you can have it up and running in under a minute, even if you're not tech-savvy. Ready to give CAPIG a try? Start a 7-day free trial today!

Tagged with:Facebook

Try Stape for all things server-sideright now!