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:

  1. Find your Tag's identifier in the ID column of the Tags page
  2. Add an HTML block to an email
  3. 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 is 6: <a href="https://www.sendlane.com/" data-tag="6">
  4. Send your email!
Did this answer your question? Thanks for your feedback! There was a problem submitting your feedback. Please try again!