qiskit.org
qiskit.org copied to clipboard
Qiskit Docs tracking is no longer working
As a Qiskit Documentation localization technical lead, I would want to see the page traffic in the Qiskit Docs. This further extends us to predict the language that user prefers to read the documentation in.
Further to the conversation with @nonhermitian offline, it was blocking the language selector button

But we need a tracking mechanism to get more info on the page traffic.
qiskit.org uses Segment for tracking. (@delapuente please add your comments on this issue)
PR Qiskit/qiskit_sphinx_theme#23 changes the location of the language selector and so, after merging, this functionality can be re-enabled since the Cookie Preferences box will no longer hide the selector.
The point of removing it was not really the overlap but that we really do not need IBM cookie tracking in an open source projects docs. A lighter solution should be found.
@nonhermitian @SooluThomas did you agree on what lighter solution you want to implement? In lack of a better option, I would recommend adding the IBM one.
Google analytics is directly supported in the theme via the 'analytics_id' option.
@delapuente @nonhermitian I'm okay with either. In my opinion it is very important to get the data of user demographics which can help the Documentation Localization team to filter requests for adding new languages.
@y4izus, @javabster I believe you're owners for this now! @techtolentino found out that users need to opt-in for Functional Cookies for Segment
Closing this as tracking is now available. Thanks to @javabster and team!!