Restored analytics for was_this_helpful
This commit is contained in:
committed by
fabioberger
parent
04f24f32e2
commit
bef662a6e1
@@ -17,7 +17,7 @@ export const HelpfulCta: React.FC<IHelpfulCtaProps> = ({ note, page, question })
|
|||||||
const [isClicked, setIsClicked] = useState<boolean>(false);
|
const [isClicked, setIsClicked] = useState<boolean>(false);
|
||||||
|
|
||||||
const vote = (yesno: string) => {
|
const vote = (yesno: string) => {
|
||||||
// analytics.track('was_this_helpful_feedback', { yesno, page });
|
analytics.track('was_this_helpful_feedback', { yesno, page });
|
||||||
setIsClicked(true);
|
setIsClicked(true);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user