Add tracking parameters for links and campaign codes

Movable Ink uses tracking parameters to measure how recipients interact with your campaigns, including email opens, link clicks, and conversions. These insights help you evaluate campaign performance and understand how marketing interactions contribute to business results.

For accounts using Performance Tracking, campaign measurement and attribution are automated. You don't need to manually wrap links or add campaign codes. Contact your Client Success Manager if you're unsure whether Performance Tracking is enabled for your account.

For accounts without Performance Tracking, Movable Ink provides two methods for collecting campaign activity:

  • Link wrapping tracks clicks on campaign links and supports conversion attribution.
  • Campaign codes track email opens, web and display impressions, and other campaign-level activity.

This article explains how each method works and how to configure tracking for campaigns created inside or outside Movable Ink.


Understand link wrapping and campaign codes

Link wrapping and campaign codes collect different types of campaign activity.

Tracking method How it works What you can measure
Link wrapping Redirects clicked links through Movable Ink before sending recipients to their intended destination. Total clicks, clickthrough rates, click activity by device, location, and time, and attributed conversions.
Campaign code Adds a tracking pixel to campaign HTML to record campaign-level activity. Total opens or impressions, activity by device, location, and time, email read lengths, and campaign launch notifications.

When you create an entire campaign in Movable Ink or import its complete HTML, link wrapping and the campaign code are added automatically.

If you're using individual Movable Ink content blocks in an email created elsewhere, you can import the complete email HTML to add tracking automatically or configure link wrapping and campaign codes manually.

How link wrapping works

Link wrapping adds Movable Ink tracking parameters to a destination URL.

When a recipient clicks a wrapped link, the request passes through Movable Ink's servers, where the click is recorded and tracking cookies are set. The recipient is then redirected to the intended destination.

For example:

Original URL

https://www.google.com

Wrapped URL

http://www.movable-ink-9667.com/p/cp/445f4fd500db8cc7/c?mi_u=*|UNIQID|*&url=http%3A%2F%2Fwww.google.com

In this example, mi_u=*|UNIQID|* represents the unique user identifier used to associate activity with an individual recipient.

The recipient still reaches the intended website, but Movable Ink can record the click.

Wrapping all campaign links, including links outside Movable Ink content blocks, provides a more complete view of campaign activity.

Important: Website conversion attribution requires Behavior Tracking and Conversion Tracking to be configured. For setup instructions, see Set up behavior and conversion tracking in Studio.

How campaign codes work

A campaign code is a tracking pixel included in your campaign's HTML.

It allows Movable Ink to collect campaign-level metrics, including:

  • Total email opens and web or display impressions.
  • Email opens by device, location, and time.
  • Email read lengths: less than 3 seconds, up to 15 seconds, or more than 15 seconds.
  • Daily campaign event logs, when the required identifiers are configured.
  • Campaign launch notification emails.

Campaign codes are unique to their associated campaigns. Using the wrong code or including the same code more than once can cause inaccurate reporting and billing.

Note: Movable Ink tracks total email opens, not unique opens, using the campaign code.

 


Before you begin

To associate campaign activity with individual recipients, configure a unique user identifier for your account.

Your email service provider (ESP) typically supplies this identifier through a merge tag.

The identifier must:

  • Be unique to each recipient.
  • Not contain personally identifiable information.
  • Use a string that can be included safely in URL parameters.
  • Remain consistent across campaigns.

For requirements and configuration instructions, see Set up user and campaign identifiers for personalization and campaign tracking.


Choose how to add tracking

The steps depend on how your campaign was created.

Campaign setup Tracking requirements
Entire campaign created in Movable Ink Builder or imported as HTML Link wrapping and campaign codes are added automatically. No additional manual setup is required.
Individual Movable Ink content blocks used in an email built elsewhere Import the complete email HTML to add tracking automatically, or wrap individual links and add the campaign code manually.
Entire email created outside Movable Ink Import the email HTML into a new Movable Ink campaign to generate wrapped links and a campaign code.

Add tracking to a campaign created in Movable Ink

If you created your entire campaign in Builder or imported its HTML into Movable Ink, the platform automatically wraps links and adds the campaign code.

No additional setup is required.

Add tracking to a campaign containing Movable Ink content blocks

If you created individual content blocks in Movable Ink and assembled the complete email elsewhere, you can import the full email HTML to add tracking automatically.

  1. Copy the HTML for your complete email, including the Movable Ink content blocks.
  2. In Movable Ink, open the campaign containing the content blocks.
  3. Open the campaign in Editor and select the appropriate content block.
  4. Select the HTML tab.
  5. Paste your complete email HTML into the editor.
  6. Select Convert to HTML campaign.
  7. Select Finish & Export.

Movable Ink generates updated HTML with wrapped links and the campaign code.

To retrieve the updated HTML:

  1. Open the Code tab on the Campaign Analytics page.
  2. Locate Campaign HTML.
  3. Select Copy to Clipboard to copy the updated HTML, or Download HTML to save it as a file.

Use the exported HTML in your ESP.

Important: Before importing previously used HTML, check whether it already contains a campaign code. Including multiple copies can cause opens to be counted more than once.

Add tracking to an email created outside Movable Ink

If your email wasn't created in Movable Ink, import its HTML to generate wrapped links and a campaign code.

  1. Copy the HTML for your complete email.
  2. In Movable Ink, select New Campaign.
  3. Enter a name in Campaign Name.
  4. Select an Estimated Send Date, if applicable.
  5. Select Start email from HTML.
  6. Paste your email HTML into the editor.
  7. Select Continue to preview the email.
  8. Select Finish & Export.

Movable Ink generates updated HTML with wrapped links and the campaign code.

To retrieve the HTML, open the Code tab on the Campaign Analytics page. Under Campaign HTML, select Copy to Clipboard or Download HTML.

Use the exported HTML in your ESP.


Wrap individual links

If you don't want to import an entire email, you can use the Link Wrapper tool to track individual links.

This is useful for links outside Movable Ink content blocks, including links associated with Creative Optimizer tests.

The Link Wrapper tool is available for email campaigns.

  1. In Movable Ink, create or open an email campaign.
  2. If you're creating a new campaign, select Start email from HTML and enter placeholder content.
  3. Select Continue to open the Editor.
  4. Go to Finish & Export.
  5. In the Link Wrapper field, enter the destination URL.
  6. Select Wrap Link/HTML.
  7. Select Copy to Clipboard to copy the wrapped URL.
  8. Replace the original URL in your email HTML with the wrapped URL.

Repeat these steps for any additional links you want to track.

Each link needs to be wrapped only once, even when it's used in different variations of a Creative Optimizer test.

Wrap links in Creative Optimizer campaigns

When using Creative Optimizer in Live or Learn mode, wrap links that aren't hosted by Movable Ink to include their clicks in your test results.

Before wrapping links:

  1. Enable Optimizer for the campaign.
  2. Optimize the first content block.
  3. Wrap the required links.

If you disable Optimizer or delete the first optimized block while building the campaign, you must wrap the links again.


Add a campaign code manually

If you're exporting individual Movable Ink content blocks into an email created elsewhere, include the associated campaign code to collect campaign-level metrics.

You don't need to add a campaign code manually when the complete campaign was created in Builder or imported into Movable Ink as HTML.

To add a campaign code:

  1. Open the campaign in Movable Ink.
  2. Select the Code tab.
  3. Scroll to Campaign Code.
  4. Select Copy to Clipboard.
  5. Open your email's HTML template in your ESP.
  6. Paste the campaign code near your ESP's tracking code, typically immediately after the opening <body> tag.

Use the campaign code associated with the Movable Ink content included in the email.

Reuse campaign codes correctly

Campaign codes must correspond to the content included in your email. Using codes incorrectly can produce inaccurate reporting and billing.

Follow these guidelines:

  • Don't duplicate a campaign code. Include it only once in your email HTML.
  • Don't use a code from an unrelated campaign. The code must correspond to the Movable Ink content included in the email.
  • If you're reusing only some content blocks, duplicate the original campaign to generate new content embed codes and a new campaign code.
  • If you're reusing all content blocks from an existing campaign, include the associated campaign code.

Best practices for accurate tracking

Add ESP personalization after wrapping links

When Movable Ink wraps URLs, it encodes special characters to ensure links work across email clients and browsers. This encoding can affect personalization or merge tags from your ESP.

For example, a tag such as {(FNAME)} might be converted to %7B%28FNAME%29%7D, preventing your ESP from replacing it with the intended value.

Where possible, add personalization parameters after exporting the HTML from Movable Ink.

If that's not possible, review the exported URLs and restore the required personalization syntax before sending.

Add web analytics parameters after export

If you use parameters for other analytics tools, such as UTM parameters, add them through your ESP after exporting the HTML from Movable Ink.

For example:

?utm_campaign=campaign1

This helps prevent Movable Ink's URL encoding from interfering with these parameters.

Check dynamic or conditional content

If your email uses dynamic content or conditional tags from your ESP, import an HTML version that contains all possible variations, where practical.

You can then separate the variations into individual content blocks in your ESP.

If importing all variations isn't practical, use the Link Wrapper tool to wrap individual links.

Check for unsupported URLs

Movable Ink doesn't support destination URLs containing hashbangs (#!).

Review these URLs before wrapping them.


Frequently asked questions

How do I wrap links that contain dynamic URL parameters?

Wrap the base destination URL, including any static parameters, before adding values that your ESP populates dynamically.

For example, start with:

https://www.example.com/quote

Wrap this URL in Movable Ink, then add the dynamic parameters to the generated URL using the syntax required by your ESP.

If you need to associate opens and clicks with individual recipients, include the unique user identifier in the tracking pixel and wrapped links.

For more information, see Set up user and campaign identifiers for personalization and campaign tracking.

Do I need to wrap links if I only want to track opens?

No. Link wrapping is used to track clicks and support conversion attribution.

If you only need campaign-level open metrics, use the associated campaign code.

Do I need link wrapping if I use Performance Tracking?

No. Performance Tracking automates campaign measurement and attribution without requiring manual link wrapping or individual campaign codes.