Creating a Cancel Link in your Events Email

You can add the content below to any Event Email Template to provide users a link for Cancelling their Event Registration.

Before you Begin

Notes:

For Events

This link will direct the user to their Events on your Events site.

Example:

Should your plans change, click here to cancel your registration: <a href="event_site/events#/myevents?cid={!Contact.Id}&k={!Contact.TargetX_Base__Access_Key__c} 

You must replace the event_site with the URL of your Events site.

Finding your Events Site Name

  1. Navigate to Setup and search for Sites. 
  2. Click your Events site. 
  3. Copy the Site URL for your site and add it to the link example above.
  4. For example, if your Events site URL = https://targetx--univ.my.salesforce-sites.com/events

Your link would be:

<a href="targetx--univ.my.salesforce-sites.com/events#/myevents?cid={!Contact.Id}&k={!Contact.TargetX_Base__Access_Key__c} 

For Event Specific

This link will direct the user to a specific Event.

Should your plans change, just click here to cancel your registration:

event_site/TargetX_Eventsb__EventCancel?contact_id={!Contact.Id}&k={!Contact.TargetX_Base__Access_Key__c}&event_id={!TargetX_Eventsb__OrgEvent__c.Id}


Replacing event_site with the URL of your Events site. Using the example from above, the updated link would be:

targetx--univ.my.salesforce-sites.com/events/TargetX_Eventsb__EventCancel?contact_id={!Contact.Id}&k={!Contact.TargetX_Base__Access_Key__c}&event_id={!TargetX_Eventsb__OrgEvent__c.Id}