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

[BD-46] Segment event refactoring #2622

Closed
PKulkoRaccoonGang opened this issue Sep 13, 2023 · 1 comment · Fixed by #2840
Closed

[BD-46] Segment event refactoring #2622

PKulkoRaccoonGang opened this issue Sep 13, 2023 · 1 comment · Fixed by #2840
Assignees
Labels
enhancement Relates to new features or improvements to existing features raccoon-gang

Comments

@PKulkoRaccoonGang
Copy link
Contributor

PKulkoRaccoonGang commented Sep 13, 2023

To track user interest in Paragon functionality, we use the track segment of events:

global.analytics.track('openedx.paragon.docs.leave_feedback.clicked');

It would be a good idea to create a definition file and declare all segment events as exportable constants. It will be a plus for Paragon developers to have a single access point to these events + add a common naming pattern for the event segment as a header to this file with constants (openedx.paragon.event_environment.event_name.event_action).

const sendSegmentTrack = (context) => global.analytics.track('openedx.paragon.docs.icons-table.selected-icon.copied', context);

sendSegmentTrack({ name: currentIcon });
@PKulkoRaccoonGang PKulkoRaccoonGang added enhancement Relates to new features or improvements to existing features raccoon-gang labels Sep 13, 2023
@monteri monteri moved this from To Do to In progress in Paragon Working Group Nov 21, 2023
@PKulkoRaccoonGang
Copy link
Contributor Author

PR: #2840

@PKulkoRaccoonGang PKulkoRaccoonGang self-assigned this Nov 23, 2023
@PKulkoRaccoonGang PKulkoRaccoonGang moved this from In progress to In review in Paragon Working Group Nov 27, 2023
@viktorrusakov viktorrusakov linked a pull request Dec 22, 2023 that will close this issue
10 tasks
@github-project-automation github-project-automation bot moved this from In review to Done in Paragon Working Group Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Relates to new features or improvements to existing features raccoon-gang
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants