How to add a tag to a contact profile with HTML
Overview
You can add Tags to Contact Profiles using HTML blocks in Campaign or Automation emails. Read on to learn how to use HTML to apply Tags to Contact Profiles!
To add a Tag to a Contact Profile using HTML:
- Find your Tag's identifier in the ID column of the Tags page
- Add an HTML block to an email
- Construct your link using a data-tag attribute with your Tag's ID. In the following example, the URL is
https://www.sendlane.com/
, and the Tag identifier is6
:<a href="https://www.sendlane.com/" data-tag="6">
- Send your email!