Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Event name already prefixed (with @@chmp
Browse files Browse the repository at this point in the history
  • Loading branch information
osahyoun committed Jul 27, 2018
1 parent 5409d79 commit 778c052
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/javascript/util/log_event.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ export const logEvent = (eventName: string, payload: any) => {
...payload,
};

if (window.TRACK_USER_ACTIONS)
window.mixpanel.track('champaign:' + eventName, opts);
if (window.TRACK_USER_ACTIONS) window.mixpanel.track(eventName, opts);
};

0 comments on commit 778c052

Please sign in to comment.