Link Tracking

How it works

As long as link tracking is enabled, we’ll be able to track general clicks (x% of recipients clicked a link in your email) and also let you know which links specifically are being clicked.

You’ll also be able to know which link was clicked by going to a particular user’s Activity tab, and expanding a Clicked Link entry:

Which link was clicked?

Emails

In the workflow, link tracking is enabled for emails by default:

Enabled link tracking

Other message types

Link tracking is not enabled by default for other message types, though it does work for SMS, Push, webhooks, and Slack. In order to track links in these messages, we ask that you use a liquid tag when creating your link, like this:

{% cio_link url:http://example.com %}

The track_url indicates to us that you would like Customer.io to track this particular link.

The possible flags are track: and url_params:, with the following usage:

{% cio_link url:http://example.com track: true/false url_params: true/false %}

The default for both is true.

There are two ways of counting clicks in Customer.io. Which way is better depends on the information you need!

  1. Total clicks: For each tracked link in a given campaign or newsletter, you can find this in the “Top Clicked Links” metric in the campaign overview or newsletter report. top clicked links metric The amounts listed are the total number of times each link has been clicked, which includes multiple clicks on the same link from the same user. This is not a count of unique links.
  2. Unique clicks: For a given tracked link, create a segment for the link you’d like to track, like this: Creating a 'clicked link' segment Then, when you save this segment, you’ll see how many people it contains. This is the number of unique clicks.

Security and privacy

You should not use link click tracking for secure or private information, such as password resets or time-limited downloads.

Our tracked links are securely signed, but the link information is not encrypted by default and sent over HTTP. You have the option to apply additional configuration through the domain white-labeling process to upgrade tracked links to be encrypted using HTTPS.

We also record clicks on your links in Activity Logs and campaign metrics, so any tracked link URLs may be logged.

As a result, we recommend disabling link click tracking for sensitive links.

There are a few ways to do this, depending on which links you want to disable.

If you’d like to prevent tracking for specific links within emails, you’ll want to add class="untracked" to the link’s code, like this:

<a href="http://www.mydomain.com/page" class="untracked">

If you’d like to disable tracking for the entire email, you can do this within the workflow. Click the email you’d like to disable tracking for, and edit its sending behavior:

Disabling link tracking

This will disable open and click tracking for that particular email only. If you want to disable tracking for a whole campaign, you will have to disable it in each email.

Newsletter tracking can be disabled in the Goal section of the newsletter workflow:

Disabling tracking in a newsletter