This is an automated email from the ASF dual-hosted git repository.

dgriffon pushed a commit to branch fix-variant-without-event
in repository https://gitbox.apache.org/repos/asf/unomi-tracker.git


The following commit(s) were added to refs/heads/fix-variant-without-event by 
this push:
     new 68e5c1b  UNOMI-803 : allow empty event within a variant
68e5c1b is described below

commit 68e5c1b559d87492d0ccc76408f3e7fc31c21369
Author: David Griffon <[email protected]>
AuthorDate: Thu Sep 7 18:49:35 2023 +0200

    UNOMI-803 : allow empty event within a variant
---
 src/apache-unomi-tracker.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/apache-unomi-tracker.js b/src/apache-unomi-tracker.js
index 6200dfd..89a7467 100644
--- a/src/apache-unomi-tracker.js
+++ b/src/apache-unomi-tracker.js
@@ -286,7 +286,7 @@ export const newTracker = () => {
                     wem.setCookie('selectedVariantId', selectedVariantId, 1);
                 }
 
-                // spread event to unomi
+                // spread existing event to unomi
                 if (selectVariant.event) {
                     
wem._registerEvent(wem._completeEvent(selectVariant.event));
                 }

Reply via email to