data.yourcompany.com). Because the traffic appears as first-party communication, it bypasses common ad-blocking lists.
Onboarding Process
Setting up a Custom Proxy Domain requires a one-time DNS delegation process between your team and MoEngage.Before updating your SDK code, you must complete the DNS delegation setup. For a detailed guide on picking a domain and configuring NS records, refer to DNS Delegation.
Step 1: Choose a Subdomain
Select a subdomain that is short and does not contain keywords typically flagged by filters (for example, avoid “tracking”, “ads”, or “moengage”).Step 2: Request DNS Delegation
Reach out to your MoEngage Customer Success Manager (CSM) or raise a support ticket to initiate the request. Provide your chosen subdomain.Step 3: Configure NS Records
MoEngage will provide you with four Name Server (NS) records. You must add these records to your DNS provider’s configuration for the chosen subdomain.Implementation
Once the DNS delegation is verified, update your SDK initialization logic. The SDK will dynamically rewrite all MoEngage endpoints (API calls and CDN assets) to use your custom proxy domain.Update MoEngage Configuration
Best Practices and Validation
- Domain Selection: Keep your subdomain string short (5-8 characters).
- Network Logs: Verify that requests start with your custom subdomain (e.g.,
sdk-01.data.example.com). - Asset Loading: Ensure images in campaigns load correctly.