We're making it easier to get around Constant Contact with a brand new left navigation. Not all accounts have that change yet, so if your navigation looks different from our articles, that's why–but everything from the top can now be found on the left!

Email and Digital Marketing
How can we help you?
Search our help articles, video tutorials, and quickstart guides

You've got this. You've got us. Search our Knowledge Base to quickly find answers to your questions.

Add dynamic links to a custom code email

Article: 000038475
Updated: February 23, 2022

Customize a URL to display content specific to each contact in a custom HTML code email

In addition to personalization tags in your email, dynamic links are a way to give your readers a personalized experience by creating a unique URL that displays content specific to each contact. If your website can use query parameters based on certain contact detailscustom fields, or account details, you can create dynamic links in your email based on that information.

 

View list of contact detail variables

Contact detailVariable
Company name[[companyName]]
Email address[[emailAddress]]
First name[[firstName]]
Last name[[lastName]]
Mailing address line 1[[addressLine1]]
Mailing address line 2[[addressLine2]]
Mailing address line 3[[addressLine3]]
Mailing address city[[city]]
State name[[stateName]]
Postal (zip) code[[postalCode]]
Country name[[countryName]]
Home phone number[[homePhone]]
Job title[[jobTitle]]
Custom field[[custom.my_custom_field_name]]
 

Add a dynamic link in a custom code email

To add a dynamic link in your custom code email, simply add the proper variable to the end of your URL after the query parameter:

<a href=”https://www.yourdomainhere.com/exampleaction?exampleparameter=[[companyName]]”>Link Text</a>

After you send your email, any clicks on the dynamic link will be tracked in your reporting for the base URL, or the URL not including the dynamic variable.

 
Exclamation Point IconImportant: Dynamic links using a contact detail or custom field variable won’t display when previewing or sending a test email. To check that the dynamic links are working properly, make a copy of the email and schedule it to send to your email address. Just make sure that you have information saved in your account for the appropriate variable.


Questions?

Ask the Community

Did this article answer your question?


Constant Contact Logo

Copyright © 2025 · All Rights Reserved · Constant Contact · Privacy Center