📈 ajoute un tracking pour le feedback positif et negatif
parent
776cbaf7d5
commit
9a2b634ab5
|
@ -55,6 +55,12 @@ class PageFeedback extends Component<Props, State> {
|
|||
}
|
||||
|
||||
handleFeedback = ({ useful }) => {
|
||||
this.props.tracker.push([
|
||||
'trackEvent',
|
||||
'Feedback',
|
||||
useful ? 'positive rating' : 'negative rating',
|
||||
this.props.location.pathname
|
||||
])
|
||||
const feedback = [
|
||||
this.props.customEventName || 'rate page usefulness',
|
||||
this.props.location.pathname,
|
||||
|
|
Loading…
Reference in New Issue