Skip to content

Commit

Permalink
Update GoalManager.js (#281)
Browse files Browse the repository at this point in the history
Co-authored-by: Yusinto Ngadiman <[email protected]>
  • Loading branch information
yusinto and yusinto authored Nov 29, 2022
1 parent 1972c8e commit 058e4d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/GoalManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 058e4d9

Please sign in to comment.