-
Notifications
You must be signed in to change notification settings - Fork 1
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
Posthog tracker #1102
Posthog tracker #1102
Conversation
7ce52f6
to
7dc0fed
Compare
data-testid="filtre-sous-statut-suivi" | ||
onChange={(values) => { | ||
onChangeFilters({ subStatus: values }, 'Sous-statut'); | ||
posthog.capture('filtre-sous-statut-suivi'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi il faut le faire manuellement alors qu’on le faisait automatiquement avec des id
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ça ne fonctionnait pas, j'ai testé en activant posthog en local, les XHR sont bien envoyés vers posthog avec cette approche
frontend/src/components/HousingListFilters/HousingListFiltersSidemenu.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/HousingListFilters/HousingListFiltersSidemenu.tsx
Outdated
Show resolved
Hide resolved
data-testid="filtre-type-de-commune" | ||
onChange={(values) => { | ||
onChangeFilters({ localityKinds: values }, 'Type de commune'); | ||
posthog.capture('filtre-commune'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi il y a deux filtre-commune
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c'est corrigé, initialement je pensais que Lucas voulais regrouper les événements statistiques liés à ces deux filtres mais c'était une erreur
frontend/src/components/HousingListFilters/HousingListFiltersSidemenu.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/HousingListFilters/HousingListFiltersSidemenu.tsx
Outdated
Show resolved
Hide resolved
39f743f
to
2ab25e1
Compare
No description provided.