Sending
Open and click tracking
CommuniQueue can tell you when a recipient opens an email and when they click a link in it. Two switches on each template decide whether an email is tracked, and they work on every provider. What differs is who does the tracking: your provider for most routes, CommuniQueue itself for an SMTP connection.
Which plans track
| Plan | Open and click tracking |
|---|---|
| Free | Not included |
| Basic | Not included |
| Pro | Included |
| Business | Included |
| Enterprise | Included |
On Free and Basic, email sent through an SMTP connection (Custom SMTP, Mailjet, SparkPost, or a provider connected over SMTP) goes out untouched: no rewritten links, no image, nothing recorded. On a provider connected through its API, the switches still go to the provider, but CommuniQueue shows and sends you opens and clicks only on plans that include tracking.
Turning tracking on and off
- In the template editor, open Tracking & publish note and use Track opens and Track link clicks. They are saved with the version you publish.
- A send can override them with emailOptions.trackOpens and emailOptions.trackClicks. The send's value wins over the template's.
- Opens and clicks are independent: you can track one and not the other.
- The switches decide on every route: managed sending, your own SendGrid, Mailgun, Postmark or Amazon SES account, and an SMTP connection.
How each provider tracks
Managed sending
- Who tracks
- Twilio SendGrid, on our account
- What the switches do
- The switches turn SendGrid's open and click tracking on or off for each email.
An SMTP connection (Custom SMTP, Mailjet, SparkPost, or a provider connected over SMTP)
- Who tracks
- CommuniQueue, itself. Pro and up.
- What the switches do
- The switches decide whether CommuniQueue rewrites the links and adds the image. See "What changes in an email sent over SMTP" below.
SendGrid or Mailgun, connected through the provider API
- Who tracks
- The provider
- What the switches do
- The switches turn the provider's open and click tracking on or off for each email.
Postmark, connected through the provider API
- Who tracks
- Postmark
- What the switches do
- Track link clicks applies to each email. Track opens does too, except while open tracking is on for the Postmark server or message stream: then Postmark tracks every email's opens, and CommuniQueue discards the opens of an email sent with Track opens off.
Amazon SES, connected through the provider API
- Who tracks
- Amazon SES
- What the switches do
- The switches apply to each email through a configuration override, which needs the IAM action ses:ApplyTrackingConfigurationOverrides on your access key. Without it, SES tracks as your configuration set says, and CommuniQueue discards the opens and clicks of an email sent with tracking off. CommuniQueue finds out on your first send and shows it on the connection. SES reports opens and clicks only if the event destination of your configuration set publishes Open and Click events.
An open or click that a provider reports for an email whose switch was off is discarded: it is not stored, logged or sent to your webhooks.
What changes in an email sent over SMTP
When CommuniQueue tracks an email itself, it changes the HTML it hands to your mail server in two ways:
- Each <a href> with an absolute http or https address becomes https://cqlinks.com/c/<token>, or your own tracking domain when you have one.
- When Track opens is on, a 1x1 transparent image with empty alt text goes at the end of the HTML body.
Never rewritten: mailto: and tel: links, in-page # anchors, any other link that is not an absolute http or https address, CommuniQueue's own one-click unsubscribe address, and a link marked data-cq-track="off". An unsubscribe link of your own in the email is a web link like any other and is tracked; mark it data-cq-track="off" to leave it as written. The plain-text part of the email is never changed. Send history keeps your original HTML, not the rewritten copy.
A template marked May contain secure content is treated differently. Link tracking stores each link's destination for two years, which would break the promise that no rendered secret stays in storage. So these templates get no link tracking, only the open image when Track opens is on.
If your provider also tracks opens and clicks on email it receives over SMTP, turn that off in its account while CommuniQueue tracks them, or each link passes through two trackers.
Keep one link out of tracking
Add data-cq-track="off" to a link that CommuniQueue should leave alone. Use it for password resets and any link that carries a secret.
<a href="https://app.example.com/reset?token={{resetToken}}" data-cq-track="off">Reset your password</a>CommuniQueue removes the attribute from the email it sends, so your recipients never see it. It is read only where CommuniQueue tracks the email itself, on an SMTP connection. On other routes your provider decides which links to rewrite.
Your own tracking domain
On Pro and up, a workspace Owner or Admin can serve tracked links and the open image from a subdomain of their own, such as links.example.com, instead of CommuniQueue's address. It applies to the email CommuniQueue tracks itself, over SMTP. Open Settings, then Sending identities, and find the Tracking domain card:
- Enter the subdomain and choose Add tracking domain. These are refused: an apex domain (the whole domain, such as example.com, where a CNAME cannot go), a host another workspace uses, and anything under our own domains. A workspace has one tracking domain.
- At your DNS provider, add one CNAME record from the subdomain to edge.cqlinks.com. The card shows the record to copy.
- A certificate is issued once the record resolves. The card moves through the states below.
| State | What it means |
|---|---|
| Waiting for DNS | We cannot see the CNAME record yet. You can add the record before or after you add the domain: the card waits here until the record appears, and Check again looks sooner than the automatic check. |
| Issuing certificate | The record resolves and the certificate for your subdomain is being issued, which usually takes a few minutes. |
| Active | The certificate is attached and our edge has finished deploying your domain. A domain turns Active only once our edge has finished deploying, so a link on it works from the moment the card says Active. |
| Failed | The card says why. Fix the cause, then choose Check again. |
Timing rules
- A domain that is not working within 7 days fails. Check again on a failed domain starts a new 7 days.
- A domain that never worked and has failed is removed 14 days after it failed.
- Any domain that never worked is removed 30 days after you added it, whatever its state, and no email is sent when that happens. Removing it frees the name, so you can add it again.
- A domain that has worked is never removed automatically.
- An Active domain is checked regularly. A bad reading, such as a CNAME record that was changed or removed or a certificate that is no longer valid, fails the domain only when it lasts 15 minutes, so a passing glitch changes nothing. DNS that cannot be read at all fails it after 3 days. A domain that has gone from our edge fails at once.
What changes for your emails
- New emails use your domain once it is Active. Earlier emails keep the host they were sent with.
- If a domain that was working fails later, new emails go back to cqlinks.com, and workspace owners and admins are told by email and by an alert on the workspace dashboard. Links already sent on your host do not work until the record is fixed.
- Removing the domain stops the links already sent on it. The app asks first.
- After a downgrade the domain stays, so links already sent keep working, and new emails are not tracked.
What an open or click records
When CommuniQueue tracks the email, an open or click records:
- the time, and for a click the link that was followed;
- the viewer's IP address;
- an approximate location from the edge network: country, region, city and coordinates;
- the full user agent, and the device and mail program read from it;
- an automatic-open flag for known image proxies, such as the one Gmail uses. These opens are flagged, never dropped.
- an automatic-click flag, set when different links of the same email were clicked within 2 seconds of each other. A person cannot do that, but mail security scanners that check every link do. These clicks are flagged, never dropped, and left out of clicks, the click rate and top links.
You see them in the recipient's event timeline, in exports, in the archive of events older than 90 days on plans that have one (events about a whole send stay out of it, see below), and in event webhooks (see The event body). They are kept for your plan's retention. A tracked click's entry says Automatic click, yes or no, and the raw events and send events exports have an Automatic click column straight after Automatic open. Clicks your provider reports are not checked this way.
Who an open or click is credited to
- Marketing email. Each to recipient has their own copy. A Cc or Bcc copy is credited to its to address.
- Transactional email with one recipient. That recipient.
- Transactional email with several recipients. It is one message nobody can be singled out of, so the open or click belongs to the send. The recipient is shown as Not known in the timeline and is null in the webhook. Reports count it once, against the first sent email of the send, so a send shows at most one opener and one clicker. Events about a whole send never move into the archive: they stay until your plan's retention removes them, and the timeline and exports still show them.
How long tracked links work
- A tracked link works for 2 years after the email was sent, on every plan, through plan changes and cancellation, unless the account's data is deleted.
- After your plan's retention removes the events, a click still redirects and records nothing.
- An unknown or expired link shows a page that says "This link has expired" and never redirects.
Your recipients
You decide whether to track. You are responsible for telling your recipients and for any consent the law requires. See section 5 of our Terms and our Privacy Policy.