You can add the content below to any Event Email Template to provide users a link for Cancelling their Event Registration.
Notes:
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.
Your link would be:
<a href="targetx--univ.my.salesforce-sites.com/events#/myevents?cid={!Contact.Id}&k={!Contact.TargetX_Base__Access_Key__c}
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}