From 1b1272ecdd95f73cae2775def2318b9e1fd3941b Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Tue, 27 Apr 2021 09:34:57 +0200
Subject: [PATCH] Track official signing events

---
 src/dbp-official-signature-pdf-upload.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dbp-official-signature-pdf-upload.js b/src/dbp-official-signature-pdf-upload.js
index 4c7e922..fe11525 100644
--- a/src/dbp-official-signature-pdf-upload.js
+++ b/src/dbp-official-signature-pdf-upload.js
@@ -296,6 +296,8 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(DBPSignatureLitElem
             const entryPoint = data.json;
             this.currentFileName = entryPoint.name;
             this.endSigningProcessIfQueueEmpty();
+            this.sendSetPropertyEvent('analytics-event', {
+                'category': 'OfficialSigning', 'action': 'DocumentSigned', 'name': data.json.contentSize});
         }
     }
 
-- 
GitLab