From 058e4d9e560bd0796c1fc356fa0715cf5d3a1880 Mon Sep 17 00:00:00 2001 From: Yusinto Ngadiman Date: Tue, 29 Nov 2022 09:30:11 -0800 Subject: [PATCH] Update GoalManager.js (#281) Co-authored-by: Yusinto Ngadiman --- src/GoalManager.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GoalManager.js b/src/GoalManager.js index f45f767d..6d742a65 100644 --- a/src/GoalManager.js +++ b/src/GoalManager.js @@ -33,6 +33,10 @@ export default function GoalManager(clientVars, readyCallback) { contextKeys: common.getContextKeys(context), }; + if (kind === 'click') { + event.selector = goal.selector; + } + return clientVars.enqueueEvent(event); }