https://deepquest.code511.com/blog/2017/01/salesforce-event-registration-script-insertion/
Salesforce (Event Registration) Script Insertion