-
Notifications
You must be signed in to change notification settings - Fork 14
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
[MPT-92] Mentors: Track Clicks on Elasticsearch #772
base: main
Are you sure you want to change the base?
[MPT-92] Mentors: Track Clicks on Elasticsearch #772
Conversation
…ownflow/mentorship-page into Unknownflow/tracking-clicks
✅ Deploy Preview for tender-meitner-99286b ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
To be revisited after launch (due to concerns with overloading server), will do a second review after the above change is addressed along with some testing.
scripts/trackClicks.js
Outdated
|
||
// search query retrieves the mentor's info | ||
const searchQuery = JSON.stringify({ | ||
query: mentor_name, |
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.
This should be the search term used instead of just the mentor name.
Marking as ready for review - to be checked. |
@Hackin7 reassigned to you, we gotta discuss this further |
draft pr for terence