RevMail ESP - HubSpot

A guide to generating UUIDs with HubSpot

HubSpot offers predefined 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 (UUIDs) into the key parameter without the need for any javascript. For example:

{{ contact.lastname }}  pulls in the last name of a known contact
{{ content_id }}  pulls in the unique ID of the email
{{ local_dt }} pulls in the current date and time

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

key={{ contact.lastname }}{{ content_id }}{{ local_dt }}

NOTE: the same UUID must always be passed into the key parameter of both the anchor and image tag