Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(modèles de documents): track des utilisateurs qui type CTRL + C sur la page #6186

Merged
merged 3 commits into from
Oct 7, 2024

Conversation

carolineBda
Copy link
Contributor

Fix #6172

@@ -7,6 +7,7 @@ export enum MatomoBaseEvent {
WIDGET_SEARCH = "widget_search",
HEADER = "header",
PAGE_HOME = "page_home",
PAGE_MODELS = "page_modeles_de_documents",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

normalement c'est un event Category mais j'ai vu qu'on avait ajouté les autres ici

Comment on lines +48 to +53
useEffect(() => {
document.addEventListener("copy", trackCopy);
return () => {
document.removeEventListener("copy", trackCopy);
};
}, [trackCopy]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😁

@carolineBda carolineBda merged commit da37349 into dev Oct 7, 2024
20 checks passed
@carolineBda carolineBda deleted the carolineBda/track-ctrl-c branch October 7, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracker le bouton Ctrl+C sur les modèles de courrier
4 participants