mirror of
https://github.com/docusealco/docuseal
synced 2026-11-14 07:52:32 -05:00
add audit trail
This commit is contained in:
1 parent
8cabe31827
commit
cf6cacdc92
11 files changed
+296
-15
No files matched your search
@@ -3,6 +3,17 @@
|
||||
module SubmissionEvents
|
||||
TRACKING_PARAM_LENGTH = 6
|
||||
|
||||
EVENT_NAMES = {
|
||||
send_email: 'Email sent',
|
||||
send_sms: 'SMS sent',
|
||||
open_email: 'Email opened',
|
||||
click_email: 'Email link clicked',
|
||||
click_sms: 'SMS link clicked',
|
||||
start_form: 'Submission started',
|
||||
view_form: 'Form viewed',
|
||||
complete_form: 'Submission completed'
|
||||
}.freeze
|
||||
|
||||
module_function
|
||||
|
||||
def build_tracking_param(submitter, event_type = 'click_email')
|
||||
|
||||
Reference in new issue
Block a user