How can we help?

How to add custom domain for Snapchat Conversions API Gateway

Ivanna
Ivanna
  • Updated

 

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.

 

 

2. 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). 



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



 

[Recommended] Load Snap js from 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:



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



Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.