Dynamic Email Content in Email Marketing

ActiveCampaign Email Marketing has always had a number of options when it comes to personalizing messages. You have the ability to personalize with their core registration details. (such as email, name, registration date, etc…) along with being able to customize your emails with any subscriber field.

The personalization fields along with sending filters have been a popular choice for thousands to personalize their mailings. However the ability to have dynamic content has been tricky. In the past that is.

Previously to version 4.51.4 if you wanted to have dynamic content (such as a different email design, etc..) you would need to either setup multiple lists or use a combination of sending filters and subscriber fields.

With the introduction of version 4.51.4 you are now able to have fully dynamic content for your emails when using the new “Fetch Personalized” feature. This new option to the fetch url section allows you to enter a url which has the contents of the email you wish to send. While this option has been available as “fetch now” and “fetch at send” it was previously not possible to pass anything that would allow dynamic content. With 4.51.4 you can pass any subscription field in the url and have the page you are fetching display content based off of what you are passing to that page.

An example

To start we will setup the page that will be the page that has the email contents we wish to have sent.

content.php

// page to parse get variable and display content that matches
$variable = $_GET["name"];

if ($variable == ‘bob’){
echo ‘Bob’s email contents…..';
}

elseif ($variable = ‘amy’){
echo ‘Bob’s email contents…..';
}

else{
echo ‘non-matching email contents…..';
}

// print out some other content for all users

echo ‘my footer.';

Now we will login to Email Marketing, go to create new message, select the message type and find the fetch url area.
Select “fetch personalized” from the dropdown and enter the full url to the sample.php file.
Example would be http://www.examplesitedomain.com/sample.php

But instead of only typing in

http://www.examplesitedomain.com/sample.php

we are going to add the subscriber name personalization option.

So we will type:

http://www.examplesitedomain.com/sample.php?name=%PERS_NAME%

You can add as many options to the fetch url such as registration name, subscriber fields, etc…

Conclusion

By using the new fetch unique feature you are able to turn your mailings, scheduled mailings, and auto-responders into fully dynamic messages.

A trial is worth a thousand words.
Get started today, no credit card required.

 
 
  • Matt

    This feature does not seem to work in 5.1.2, and instead, it dumps the fetched URL into your email message body.

    • Sounds like your install or format may have an issue. Please submit a ticket (if you have not already) and we can check into it.