RevMail ESP - SparkPost

A guide to generating UUIDs with SparkPost

SparkPost offers substitution variables which allow users to pull in personalized campaign and user data. By using combinations of these variables we can generate and pass unique identifiers (UUID) into the key parameter without the need for any javascript. For example:

{{email_id}}  pulls in your campaign’s unique email ID
{{message_id}}  pulls in your unique message ID
{{timestamp}}  pulls in the date and time in Unix format

By combining these tags we can successfully create a dynamic UUID and our key parameter would therefore look something like this:


NOTE: the same UUID value must always be passed into the key parameter of both the click and image URL