Restored analytics for was_this_helpful

This commit is contained in:
Piotr Janosz
2019-07-15 14:02:12 +02:00
committed by fabioberger
parent 04f24f32e2
commit bef662a6e1

View File

@@ -17,7 +17,7 @@ export const HelpfulCta: React.FC<IHelpfulCtaProps> = ({ note, page, question })
const [isClicked, setIsClicked] = useState<boolean>(false);
const vote = (yesno: string) => {
// analytics.track('was_this_helpful_feedback', { yesno, page });
analytics.track('was_this_helpful_feedback', { yesno, page });
setIsClicked(true);
};