Email Open and Click Tracking

Overview

UniSignIn records when a registered user opens an email or clicks a link in it. Opens and clicks become profile fields you can use in Segments and targeting, for example to re-engage subscribers who stopped opening.

This works for:

  • Emails UniSignIn sends: campaigns, your email templates and system emails such as the welcome email.
  • Newsletters you send from another email service, such as Mailchimp or AWS SES, using UniSignIn tracking links.

Emails sent by UniSignIn

Go to Features > Email Settings and turn on Track opens and clicks on the Sending tab. UniSignIn then adds an invisible image to record opens, and sends links through a redirect to record clicks. Nothing needs to change in your templates.

Security emails, such as the one-time passcode and password reset, are never tracked. Test emails are not counted.

Opens and clicks show in email activity, campaign results and Analytics.

Tracking domain

Tracked links use the UniSignIn tracking domain by default. To use your own, such as track.example.com, set it up on the Domains tab. See Set up a tracking domain.

To see email visits in your web analytics, add UTM parameters to every link under Link parameters on the Sending tab. Add unis_eid adds an ID that ties a visit to the email it came from. A template can set its own parameters. See Link parameters.

Other email services

UniSignIn creates two personal links for every registered user and includes them in the user data it sends to your email service:

  • email_open_url: an invisible 1×1 image that records the open.
  • email_click_url: a link that records the click and then redirects. Add the address you want to link to at the end, URL-encoded.

The links are unique to each recipient and can't be guessed, so opens and clicks can't be faked.

Mailchimp

UniSignIn syncs your users to Mailchimp, see MailChimp.

  1. In your Mailchimp audience, add two text merge fields, e.g. UNISOPEN and UNISCLICK.
  2. In the UniSignIn MailChimp integration settings, map email_open_url to UNISOPEN and email_click_url to UNISCLICK.
  3. In your newsletter template, add the open pixel anywhere in the body:
<img src="*|UNISOPEN|*" width="1" height="1" alt="" />
  1. Start each link you want to track with the click merge tag, followed by the URL-encoded address:
<a href="*|UNISCLICK|*https%3A%2F%2Fwww.example.com%2Farticle">Read more</a>

AWS SES and other email services

  1. Turn on the HTTP Webhook integration. The user data it sends includes email_open_url and email_click_url.
  2. Store both values with the subscriber in your system.
  3. Pass them as template data when you send, e.g. with an AWS SES template:
<img src="{{email_open_url}}" width="1" height="1" alt="" />
<a href="{{email_click_url}}https%3A%2F%2Fwww.example.com%2Farticle">Read more</a>

Only http and https addresses are redirected. Always URL-encode the address you append to the click link.

Profile fields

Opens and clicks are added to the registered user's profile as Email opens (last 30 days), Email clicks (last 30 days), Last email open and Last email click.

Example segment, subscribers who stopped opening: the newsletter field equals true and Email opens (last 30 days) equals 0.

Some email apps, such as Apple Mail with Mail Privacy Protection, load images automatically, so opens can be overstated. Clicks are the more reliable signal.

Stay ahead in first-party data

Identity, consent, audience, and subscription insights for publishers. A few emails a month, no spam.

By subscribing you agree to our privacy policy.