ESP - MailGun

A guide to generating UUIDs with MailGun

MailGun offers template variables which dynamically pull in personalized contact data. By using these tags we can generate and pass unique values (UUIDs) into the "key" parameters without the need for any javascript. For example:

%recipient.unique_id%   pulls in the recipient's unique ID

Our "key" parameter values would therefore look something like this:

<a href="
<img src="

NOTE:  the same variable(s) should be passed into the "key" parameter values of both the click and image URLs