Skip to content

Commit

Permalink
Merge pull request #901 from adobecom/MWPW-162853
Browse files Browse the repository at this point in the history
 MWPW-162853: Analytics Enablement for "Cancel" button
  • Loading branch information
TsayAdobe authored Nov 22, 2024
2 parents 9560e36 + 8ea5d78 commit e674eaa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions acrobat/blocks/verb-widget/verb-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,11 @@ export default async function init(element) {
setUser();
}

if (e.detail?.event === 'cancel') {
verbAnalytics('job:cancel', VERB, e.detail?.data);
setUser();
}

if (e.detail?.event === 'uploading') {
verbAnalytics('job:uploading', VERB, e.detail?.data);
setUser();
Expand Down

0 comments on commit e674eaa

Please sign in to comment.