Share
Explore

Posthog feedback

There are different ways in which events can be captured using Posthog(Ph).

image.png

There are 30 events that can be captured using Ph for feedback module.
The following are the various events for feedback,
EN vs Posthog action
0
EN action
Posthog action
Value
1
My corner feedback overview
AC_link href equals
/pages/my_corner/feedback#overview
2
My corner feedback dashboard
AC_link href equals
/pages/my_corner/feedback#dashboard
3
My corner praise wall
AC_link href equals
/pages/my_corner/feedback#praise_wall
4
My corner feedback report
AC_link href equals
/pages/my_corner/feedback#feedback_report
5
My corner requests report
AC_link href equals
/pages/my_corner/feedback#request_report
6
My team dashbaord
AC_link href equals
/pages/my_team/feedback#dashboard
7
My team feedback wall
AC_link href equals
/pages/my_team/feedback#feedback_wall
8
My team praise wall
AC_link href equals
/pages/my_team/feedback#praise_wall
9
My team feedback report
AC_link href equals
/pages/my_team/feedback#feedback_report
10
My team requests report
AC_link href equals
/pages/my_team/feedback#request_report
11
Admin feedback dashboard
AC_link href equals
/pages/manage/feedback#dashboard
12
Admin feedback wall
AC_link href equals
/pages/manage/feedback#feedback_wall
13
Admin praise wall
AC_link href equals
/pages/manage/feedback#praise_wall
14
Admin feedback report
AC_link href equals
/pages/manage/feedback#feedback_report
15
Admin requests report
AC_link href equals
/pages/manage/feedback#request_report
16
Clicked praise
AC_HTML selector
[id='praise']
17
Clicked share feedback
AC_HTML selector
[id='feedback-sf']
18
Clicked request feedback
AC_HTML selector
[id='feedback-rf']
19
Cancelled praise
Suggest to go with manual event from JS
Suggest to go with manual event from JS
20
Shared praise
Suggest to go with manual event from JS
Suggest to go with manual event from JS
21
Cancelled feedback
Suggest to go with manual event from JS
Suggest to go with manual event from JS
22
Shared feedback
Suggest to go with manual event from JS
Suggest to go with manual event from JS
23
Cancelled request feedback
Suggest to go with manual event from JS
Suggest to go with manual event from JS
24
Requested feedback
Suggest to go with manual event from JS
25
Feedback settings Page view
AC_link href equals
/admin#feedback/feedback_settings
26
Feedback category Page view
AC_link href equals
/admin#feedback/area_settings
27
Seeing feedback while appraisal
AC_data target
[data-target='feedback']
28
Quick action → Share feedback
AC_HTML selector
a[id='shareFeedback']
29
Quick action → Request feedback
AC_HTML selector
a[id='requestFeedback']
30
Viewing feedback while checkin
AC_HTML selector
a[id='requestFeedback']
There are no rows in this table
24 events can be captured using Ph toolbar itself, i.e without sending events manually from EN client side.

The events 19-24 can be captured via JS code manually, because,

When there is an error in the share feedback modal box like not selecting the category, not giving the type & then clicking submit would eventually capture the data in Posthog but the feedback would not have been created itself, there would be
no validation
for the submit actions of any module per se. If we do it via JS manually, it is just a single line of code,
posthog.capture('Shared feedback');
in the success callback submit feedback
If we do it like this ,then we can also analyse the feedbacks filtering by category, type, etc. cross organisations. This will make our manual querying trivial & make us build easy & fast dashboards. All it needs is,
posthog.capture('Shared feedback', {type: 'Good work', cateogry: 'Communication'});

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.