Tracking & Image Domains Setup

Table of Contents:

Tracking & Image Domains Setup

Intro

(info) You will need access to your DNS (Domain Name Server) in order to setup the below CNAME records. Your DNS is typically used for managing your website domain and email sender domain.

  • You need to setup at least 1 tracking domain for your entire account.
  • The tracking domain is used to track open and click stats.
  • The image domain is optional, but recommended if you'd like to make use of the convenient built-in Ongage image library. Alternatively you can host the images you'll use in your HTML emails on an external internet server.
  • (warning) We strongly advise to only use Ongage open and click tracking and turn it off in any of your outbound SMTP vendor accounts (e.g., SendGrid, SparkPost, Mailgun, etc.). Double tracking, for a variety of reasons is considered bad practice by ISP mailbox providers (e.g., Gmail, Outlook, etc.) and can impact deliverability.

Tracking/Image domain should be based on sending domain

(info) It's best practice that your image and tracking sub-domains share the same primary domain as your sending domain. For example if your sending domain is mydomain.net, then your tracking domain should be something like: track.mydomain.net

Note about DNS propagation 

(warning) Note: any time that DNS changes are made (like in the below) , you need to wait for DNS propagation to complete. DNS propagation usually takes a few hours, but in rare cases can take longer if it's a brand new domain, anywhere from 24 hrs - 72 hrs (i.e., 1 - 3 days).

Sample CNAME DNS  Configuration 

Configure the image and tracking domains in your DNS with the following values:

The Ongage Tracking and Image Domain Setup Page 

(info) The Tracking & Image Domains page is where you configure this in Ongage.
There it will display the exact account ID number you need to use instead of your_account_id indicated above.
Here's how this page looks for Account ID 8882. Each account will have a different account id number indicated, for your account, it will be your account id number.

Advanced Settings

Assign Tracking Domain Per List

You can add and allocate different tracking domains to different lists in Ongage. In order to do so, please follow steps given below.

  1. Go to Image and Tracking Domains >> Click on "Advanced" and go to "Domains per List"
  2. From the list of Tracking Domains added, Click on the edit button for which you want to assign the domain per list. You can also search for the list using the search option.





  3. On the pop up opened, select the Tracking and Image Domain.

(info) Note: Definitions made on the list level will overrule definitions made on the ESP level.

Assign Tracking Domain Per ESP Connection

You can add and allocate different tracking domains to different ESP connections used in Ongage. In order to do so, please follow steps given below.

  1. Go to Image and Tracking Domains >> Click on "Advanced" and go to "Domains per ESP"
  2. From the list of Tracking Domains added, Click on the edit button for which you want to assign the ESP Connection. You can also search ESP Connection using the search option.


  3. On the pop up opened, select the Tracking and Image Domain.


(info) Note: You can configure domains per ESP for ESPs that are defined in your account. These settings will overwrite, for the chosen ESP, any previous domain settings that were done in the account level. For that you must first need to setup the ESP to enable the domain setup per ESP.

Configuration to Match Sending Domain and Tracking Domain for each list

In order to make sure the same Tracking Domain and Sending Domain is used for each campaign from each list, you can follow the steps given below.

  1. Setup ESP Connection with the From Address/Reply Address with the Sending Domain you want to use. For example: info@domain.com where domain.com is your sending domain.
  2. Configure a Tracking domain with a sub-domain of the sending domain. For example, configure track.domain.com as Tracking Domain as per the instructions shared above in this page. 
  3. Allocate the configured tracking domain with the relevant ESP connection where you have used the same Sending Domain as per the steps shared above.
  4. Go to List Manager >> Edit the List in which you want to Match the Sending Domain and Tracking domain >>> Allocate the ESP connection configured above and Save.



  5. Follow the same process from Step 1 to Step 4 above for each list in your account where there will be a List Specific ESP connection and a relevant tracking domain configured for each of your list.

(info) Note: While setting up new ESP connections with separate sending domains, you can use the same API credentials. 

Appendix

For more info about DNS CNAME definitions 

About SSL and Tracking 

  • The Ongage tracking domain is implemented using regular http.
  • Ongage does not have an out-of-the-box support for using SSL/https for your tracking domain setup.
  • If required it can be setup, but requires an additional special setup. You'll need to speak to your Ongage account manager about this matter. Note: there could be additional costs related to this setup.

Regarding HSTS Policy and Tracking Domains

There's another scenario, where you're using Ongage's regular http tracking, but your destination landing page is https (i.e., SSL) and not http. If you choose setup your tracking domain to be under that https landing page domain (e.g., trk.landingpage.com) then you'll need to make sure that the top level domain does not have an HSTS policy, or choose a different top level domain for your tracking that does not have an HSTS policy.

In order to check HSTS settings in Chrome:
1. Enter URL chrome://net-internals/#hsts
2. Lookup subdomain under "Query Domain"