Conversation
|
Thanks @asaadmahmood, this is great! :) Next step is that I am awaiting feedback from the Analytics team to confirm that I can add the events to our GA account. Adding a screenshot from my local build for reference as I am still setting up my web server. |
|
@asaadmahmood @justinegeffen Before merging, propose considering the following:
Else, excited to see this progress 🎉 Also, this is for the rating score only, no text-based answers for now? |
Yes, for the score only, we can expand on this later. |
|
Good questions, @jasonblais. I suggested to @asaadmahmood that we start with just emoji ratings to ensure the events are properly tracked by Google Analytics. Once we have confirmed this, the next iteration can include an on-page comment box (workflow for this has not yet been defined). I think four provides a bigger range of feedback but by the same token it might be easier to start with three ratings and then refine them. 3/5. |
|
I've added the event tracking code to the docs based on the content here: https://developers.google.com/analytics/devguides/collection/gtagjs/events. Next step is a review of the code and steps to validate. I've asked Kendall to take a look at it as I am getting an error when I build locally (not sure if that's format-related): |
|
@ztrayner, I chatted to Kendall and she recommended that I get your review and next steps on this if you have the bandwidth. :) |
|
Following up on this, @ztrayner, to find out if there's anything I can do on my side wrt testing. :) |
|
@justinegeffen looks good, just be aware that you can sometimes run into data sampling issues with GA. This should give us a good idea though. |
Brilliant, thank you! :) |
justinegeffen
left a comment
There was a problem hiding this comment.
This looks good to me, thank you!
|
@asaadmahmood, I'm getting a build error when I build the docs, but it doesn't look like there are any errors on the page. Would you be open to checking the GA code before we merge this? |
|
@amyblais, I was wondering if you'd be able to take a look at this and let me know where I went wrong with the new code and why it's causing the build error? I think it's otherwise good to merge but don't want to break anything. :) |
|
@justinegeffen Can you show me the build error here? |
|
hey @asaadmahmood, sure, it's this: updating environment: [config changed] 338 added, 6 changed, 0 removed |
|
@justinegeffen I see that error on master aswell, are you sure you only see that error on this branch? |
Great question, I didn't actually check that. Let me do another build. |
|
Yah I see it on master too so I guess it's not related to these changes. Thanks for picking that up! I think we should be good to merge once @amyblais has had a look. :) Thanks @asaadmahmood! |
|
I don't have enough knowledge to review / test this. |
Thanks @amyblais - I chatted to @jasonblais and I think we're good to go. :) Appreciate the feedback. :) |
This reverts commit 40ca928.
…/docs into justinegeffen-patch-7 * 'justinegeffen-patch-7' of https://github.com/mattermost/docs: (90 commits) Update integrations.rst Remove Oracle from Bitnami packages (#3491) Revert "Adding NPS rating for docs pages (#3469)" (#3495) Add Plugin Labels and Prepackaged Plugin Info (#3395) Adding NPS rating for docs pages (#3469) Fix broken link in Bot Account Creation > Plugin (#3493) Added Let's Encrypt clarification (#2866) Update security.rst (#3434) Update sg_grammar-spelling-mechanics.rst (#3462) Update training.rst (#3485) Update release-faq.rst (#3484) Documenting how to change the default docker-compose network (#3480) Fixes GH-542-Moved : Request for Documentation: Add to interactive-messages documentation (#3482) Correct Code Block Formatting (#3477) Update mmctl-cli-tool.rst (#3481) FAQ on Archived Channels and data retention (#3470) Update desktop-changelog.rst (#3473) Update desktop-changelog.rst (#3471) Added Video to AD/LDAP Group Sync (#3450) Hint to `"skip_slack_parsing"` to ignore Slack-compatibility logic (#3427) ... # Conflicts: # source/install/troubleshooting.rst


Summary
Adding NPS rating for docs pages
Ticket Link
https://mattermost.atlassian.net/browse/MM-23098