Stape/Knowledgebase

How to add custom domain for Snapchat Conversions API Gateway?

Using a custom domain or data routing in your Snap CAPI Gateway can improve measurement performance. The data routing feature allows you to choose the subdomain for the pixel's communication with the Conversions API Gateway. This custom domain should match the subdomain of the main domain used for firing the Snapchat pixel.

1. Click Data Routing on the left menu.

  Click Data Routing on the left menu  

2. Click Add Subdomain. Enter your custom domain.

Click Add Subdomain
Enter your custom domain

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

Log in to your DNS provider and set records

4. And that’s it! You’ve successfully set up your subdomain.

You’ve successfully set up your subdomain

This will help you increase the protection of your events from ad blockers.

After validating your Data routing domain you will see a link that you can use to download snap js on your site:

Link that you can use to download snap js

You can add this to your site's code or change it in the default Snap js snippet:

Add link to your site's code or change it in the default Snap js snippet
Can’t find what you are looking for?