> For the complete documentation index, see [llms.txt](https://eventx-hq.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eventx-hq.gitbook.io/knowledge-base/outreach-channel/email-configuration-and-deliverability/merge-tag.md).

# Merge Tag

## Merge Tag

This article will go through how to use merge tags and their respective definitions to help organizers create personalized content.

## How to add a merge tag?

In the email editor for both manual and automated emails, click on an existing field or insert a text block. Then, click on Merge Tag and select the appropriate one for your usage.\
![](/files/Z5BwHsDVHF3rdedPdKp3)\
Or, you can also directly put the merge tag code into your html code and import it into the email template.\
![](/files/8tUv0yUX7pYxajHjYaWh)

## Definitions

### **Basic User Info**

1. {{AIEmailBodyContent}} - Used for Lead Finder AI email content feature
2. {{AIEmailSubjectLine}} - Used for Lead Finder AI email unique subject line
3. {{{attendeeCheckinQRCode}}} - Attendee QR Code Image
4. {{{attendeeCheckinQRCodeUrl}}} - Attendee QR Code URL clickable link
5. {{attendeeCNMagicLink}} - Magic Link for China domain page attendees, which allow attendees to access event directly
6. {{attendeeEmail}} - Email address of attendee
7. {{attendeeFullName}} - Full Name (First Name + Last Name) of attendee
8. {{attendeeId}} - ID no. assigned to each attendee
9. {{attendeeFirstName}} - First name of attendee
10. {{attendeeLastName}} - Last Name of attendee
11. {{attendeeJobTitle}} - Job Title of attendee
12. {{attendeeMagicLink}} - Magic Link for attendees, which allow attendees to access event directly
13. {{attendeeOrganization}} - Company/ Organisation Name of attendees
14. {{attendeePhoneNumber}} - Phone Number of attendees
15. {{ticketClassName}} - Name of Ticket
16. {{{ticketPurchaserEmail}}} - Email of the ticket Purchaser
17. {{attendeeRsvpInvitationUrl}} - RSVP Accept for RSVP attendee
18. {{attendeeRsvpRejectUrl}} - RSVP Reject URL for RSVP attendee

### Custom User Info

1. City
2. Country

**Remark:** If your registration form has custom questions such as short text, long text single choice, multiple choice or dropdown, it will also be displayed here.

### **Event Information**

1. {{currentYear}} - The current calendar year in which the analysis takes place
2. {{eventBannerUrl}} - Show the link to the event banner
3. {{eventDateTime}} - Event date & time
4. {{eventName}} - Name of Event{{eventSiteUrl}}: Link of event landing page
5. {{eventSiteURL}} - Shows the event link
6. {{organisationName}} - Name of Event Organiser
7. {{{ticketSummaryItems}}} - Shows a summary of items purchased by the attendee
8. {{unsubscribeUrl}} - Link to unsubscribe on this event, when users click this, they will no longer receive email from this event.

## How to add custom field merge tags into action button or HTML code?

If you would like to use custom field merge tags as a URL that can be clicked, follow the steps below. This is useful for organizers that have a custom field consisting of unique links for each attendee.

1. Click on the action button and select the merge tag that you'd like to include as the URL.\
   ![](/files/jqWqlMiynbgWY6RWREos)
2. Click on a blank space outside of the block and the merge tag will turn into a custom field ID as shown below.\
   ![](/files/sap0xh7lbpnS5QcubZzc)
3. Copy the custom field ID and paste it into the URL section of the button. This will allow the item inside the merge tag to be clickable.\
   ![](/files/ytL668VaUq6OGoXkrvBH)
4. Remove the ID from the action button and click save.\
   ![](/files/jqWqlMiynbgWY6RWREos)

If you would like to include the custom field merge tag into your HTML code, refer to steps 1 and 2 above to generate the custom field ID. Then, copy and paste it into the desired location within your HTML code.

## Frequently Asked Questions

### Q: How do I add a merge tag to an email template?

**A:** In the email editor, click on an existing field or insert a text block, then click Merge Tag and select the appropriate one. You can also directly paste merge tag codes into your HTML code.

### Q: Can I use custom field merge tags as clickable URLs?

**A:** Yes. Add a custom field merge tag to an action button, copy the generated custom field ID, paste it into the URL section of a button, then remove the ID from the action button and save.

### Q: What is the {{unsubscribeUrl}} merge tag used for?

**A:** The {{unsubscribeUrl}} merge tag provides a link that allows attendees to unsubscribe from all emails related to the current event.
