Adding Dynamic URLs to Email Treatments
When creating email treatments, you can use the Dynamic URLs functionality to embed dynamic hyperlinks into an email template. When emails are generated for the treatment, the Email Marketing Server retrieves the content indicated by the dynamic URL and the content is merged into the email.
To make a dynamic URL available in CKEditor for inclusion in email treatments, you must first define the dynamic URL, then add it to an email treatment as described in the following procedure.
This task is a step in Process of Working with Email Treatments.
To create a dynamic URL and add it to an email treatment
Create the dynamic URL that you want to make available for selection in CKEditor as described in Step 1 in Adding Social Sharing URLs to Email Treatments, but click the Dynamic URLs link bar at Step c.
Enter values similar to those shown in the following table, then save the record.
Parameter Value Name
Enter the name you want to assign the dynamic URL. This name is displayed in the Items menu in the email treatment editor.
URL
Enter the URL that you want to embed in the email treatment template.
Dynamic URLs can contain merge fields and can be defined to specify the content management system that is the source of content for a given contact or prospect. For example, the following dynamic URL contains 2 merge fields, [Field: First Name] and [Field: Last Name]:
http://server_name.example.com:8080/ getOffer.php?firstName=[Field: First Name]&lastName=[Field: Last Name]
Insert the dynamic URL you have created into an email treatment template, as described in Step 2 Adding Social Sharing URLs to Email Treatments, but select Dynamic URLs from the Categories menu at Step c.
From the Items menu, select the dynamic URL you created, then click the Insert arrow.
The dynamic URL is embedded in the email template.
If you defined a dynamic URL that contains merge fields, as shown in the example in Step 2, then when the email is generated for a contact named JaBrown, the URL is converted, and offer content appropriate to Jane Brown is merged into the email as follows:
http://server_name.example.com:8080/getOffer.php?firstName=Jane&lastName=Brown