Link Tables

A link table is a collection of links that allows you to track recipient links in a campaign. Each link is defined with a name and a URL. 

External links can be, and often are, coded inside the personalization template with the anchor tag, as shown in the previous section. However, when you want to track links, you can code these link URLs in a link table.

Consider the following example:

Link name: google search
Link URL: www.google.com?q=golf

This example defines a link in a link table to Google, with a predefined query.

Forms can also be coded in the personalization template or can be added as a link in a link table. Consider the following example:

Link name: view in browser
Link URL: ${form(‘user preferences’)}

This link is added to the link table so that the user preferences link can be tracked.

To track clicks in RPL, you code your anchor tags with the clickthrough method that will be described later.

For instance, to track a click for the Google search example, you could write:

<a href=”${clickthrough(‘google search’)}”>Search</a>

The previous examples show that, while the form method uses form names (or campaign names), the clickthrough method uses link names.

Next steps

Passing parameters for forms