Use your own tracking domain
A tracking domain is a subdomain that you own, for example track.syarikatanda.com. This subdomain replaces the usual tracking links in your emails. The open and click links in your campaigns will use your domain. Then recipients see a domain name that they know.
This feature is only on plans that include tracking domains. If you do not see Tracking domains below Sending in the sidebar, your plan does not include this feature.
Before you start
Section titled “Before you start”You must have these items before you add a tracking domain:
- A Mail Niaga plan that includes tracking domains.
- A subdomain that no other website uses, for example
track.syarikatanda.com. - Access to the DNS provider of the domain. For the proxy method, you also must have access to the web server that hosts the subdomain.
Add a tracking domain
Section titled “Add a tracking domain”These steps register your subdomain in the Mail Niaga console.
- Click Sending → Tracking domains in the left sidebar.
- Click Add tracking domain. The Add Tracking Domain page opens.
- In the Domain details section, choose
https://in the scheme list. - Type your subdomain in the Domain field, for example
track.syarikatanda.com. Type only the host name, with no path. - Keep the Port field empty, unless your server uses a different port.
- Click Save and continue.
The console opens the Setup & Verify page for the domain. The status of the domain is Unverified until you verify it.
Set up & verify the domain
Section titled “Set up & verify the domain”The Setup & Verify page shows one of two methods. Follow the method that the page shows:
| Method on the page | What to do |
|---|---|
| Auto-SSL Setup (Caddy) | Add the DNS record (A or CNAME) from the Host name, Type and Value table at your DNS provider. SSL is set up automatically. DNS changes can take from 5 minutes to some hours. |
| Install the tracking proxy | Click Download the proxy (.zip). Unzip all the files into the document root of your subdomain, together with the hidden files .htaccess and .user.ini. Make sure that the web server can write to the logs folder. The server must have PHP 8.1 or later with cURL. For an Nginx server, add the configuration block that the page shows. |
When you finish, click Verify now. If the verification is successful, the page shows Domain verified and the status of the domain changes to Verified. If the verification fails, check the steps again and click Verify now again. Click I’ll do this later to continue at a later time. To go back to this page, click Setup / Verify on the row of the domain in the Tracking Domains list.
Use the tracking domain in a campaign or a list
Section titled “Use the tracking domain in a campaign or a list”After the status of the tracking domain is Verified, choose the domain in these places:
| Place | Setting | Result |
|---|---|---|
| The setup step of a campaign | Tracking domain | The open and click links in that campaign use your domain. Choose None (use default) for the usual links. |
| The list settings, Branded links section | Branded link domain | The subscription confirmation, profile and unsubscribe links in the emails of that list use your domain. Choose None (use this installation’s domain) for the usual links. |
Each campaign uses the tracking domain that you chose in that campaign. A campaign does not use the domain in the list settings.
This advice helps you set up a tracking domain with no errors:
- Use a special subdomain for tracking. A subdomain such as
track.syarikatanda.comdoes not interfere with your main website. - Choose https://. The Mail Niaga console uses HTTPS, so the console rejects a tracking domain with
http://. The pages that recipients open work only with HTTPS. - Verify the domain again after you edit it. If you change a tracking domain with Edit, the console asks you to verify it again.
Common issues
Why do I not see the Tracking domains menu?
The Tracking domains menu shows only if your plan includes tracking domains. If the menu is not below Sending, your plan does not include this feature. Contact the Mail Niaga support team to change your plan.
Why does the message Tracking domain should not contain path show?
The Domain field accepts only a host name, for example track.syarikatanda.com. Remove https:// and any path such as /link from the value. Choose https:// in the list next to the field.
I clicked Verify now but the verification failed. What must I check?
Make sure that the DNS record or the proxy files are correct, as the steps on the Setup & Verify page show. Also make sure that the server of the domain is reachable from the internet. DNS changes can take some hours. Then click Verify now again.
Was this article helpful?
Thanks for your feedback.
Sorry, this page did not help. Chat on Messenger and we will help you fix it.
