Skip to main content

Using Action Links

Written by Domonkos Horváth

What is an Action Link?

An action link is a URL that, when clicked by a person, triggers a specific "action" — e.g., "clicked," "donated," "signed," etc. The link can include multiple parameters for context, such as:

  • action: the event that occurred (e.g., "clicked")

  • goto: the destination URL (required)

  • context (optional): the context in which the action happened

  • source (optional): the source of the action (e.g., email, SMS)

  • vendor (optional): the platform that delivered the link

  • campaign_id (optional): the ID of a campaign the clicking person should be associated with

  • person or email: who clicked. See below.

  • value (optional): a value stored with the action

  • emotion (optional): an emotion stored with the action

Any other query parameter is stored on the action as custom data, and utm_ parameters are stored as tracking parameters.

Why Use Action Links?

Action links help you understand how your users interact with your content and allow you to automate follow-ups and personalize the journey. Common use cases include:

  • Tracking link clicks in emails

  • Measuring reactions to external campaign links

  • Triggering automation steps in a user journey

How Does an Action Link Work?

An action link follows this structure:

https://<your-cambuildr-url>/api/v1/t?goto=<target-url>&person={{var:identifier}}&action=<your-action>

Additional optional parameters like context, source, vendor, and campaign_id can be added.

Example:

https://join.cambuildr.com/api/v1/t?goto=https%3A%2F%2Fjoin.cambuildr.com%2Fdanke&person={{var:identifier}}&action=clicked&context=overlooked_email&source=email_not_opted_in&vendor=cambuildr

Important: to attribute the action to a person, the link needs either person={{var:identifier}} or email=<address>. Use person in a CamBuildr email. If both are present, person is used. A link with neither still redirects to the target URL, but nothing is recorded. If the person or address is not in your database, the visitor gets an error instead of being redirected, so only send these links to people who are already in CamBuildr.

If a campaign_id is supplied (e.g. &campaign_id=1234), the clicking person is also added to that campaign. The person must already exist — action links only attribute actions to existing contacts — and unknown or cross-tenant campaign IDs are silently ignored.

Using Action Links Outside of CamBuildr Emails

If you’re using action links outside of CamBuildr (e.g., in third-party email tools or on external websites), you must ensure that {{var:identifier}} is replaced with the actual identifier of the user.

This means you need to:

  • Replace {{var:identifier}} at send time (e.g., using a merge tag or personalization token), or

  • Generate the final URL dynamically with the identifier already embedded

Otherwise, the action cannot be attributed to a specific person in CamBuildr.

Use the Action Link Generator

CamBuildr offers a visual Action Link Generator to help you create links easily. You’ll find it here.

Just enter the base URL, target URL, and action and optionally, other parameters. The generator builds a ready-to-copy tracking link for you.

Did this answer your question?