Major - P3
As you may have heard, the Docs team is migrating all of the off-domain driver documentation (with the exception of the corresponding API documentation that you all own) to docs.mongodb.com/. It'll be a while before all driver documentation is migrated. In the mean time, we'd like to instrument all off-domain driver documentation with the same instrumentation we use for the MongoDB docs.
One of our instrumentation tools is an NPS survey (administered with Delighted). We'd like to deploy this NPS survey to all of the off-domain driver documentation, which includes all pages on the following domains:
- https://mongodb.github.io/node-mongodb-native/ (Node)
- https://api.mongodb.com/python/current/index.html (PyMongo) and https://pymongo.readthedocs.io/en/stable/
- https://motor.readthedocs.io/en/stable/index.html (Motor, Python async)
- http://mongodb.github.io/mongo-java-driver/ (Java)
- http://mongodb.github.io/mongo-csharp-driver/ (C#)
- http://mongodb.github.io/mongo-scala-driver/ (Scala)
- http://mongoc.org/ (C)
- http://mongocxx.org/ (C++)
**Once deployed, the survey will appear on the documentation as demonstrated by the attached screenshot (file: "Screen Shot 2019-11-19 at 4.56.29 PM.png").
Some information about how to test whether or not the survey is live has been attached as well (file: "Screen Shot 2019-11-19 at 2.54.46 PM.png")
The relevant code snippet has also been attached (file: "delighted_snippet.js").
Finally, the NPS survey is tunable - we have our implementation configured such that we do not survey users more than once every 30 days, and users are prompted with the survey only if they've been on the site for at least 3 minutes. You can take a look at how we have implemented this by looking at the attached file "docs_delighted_implementation.js".
For more information, you can visit: https://delighted.com/docs/api/web
According to our research, the drivers are the most widely used MongoDB product among developers, after Server, and updating the driver documentation is our #1 priority at the moment (hence this ticket). Please reach out with any questions / if you need more information. Thank you for your help!
- Gilberto Hernandez