The docs advise creating a settings screen that toggles a site's optin status via Status::set_status().
https://github.com/stellarwp/telemetry#saving-opt-in-status-on-a-settings-page
In order to send data to the telemetry server a token value is required. This is only generated if the user opts in via the optin modal. If they skip in the initial modal, but then try to enable it via a setting, no data will be sent to the Telemetry server.
I'm not sure if this is a docs issue, and it is expected for plugins to call Opt_In_Subscriber::opt_in ourselves manually. To me, it seems like that should happen automatically.
I'm happy to create a PR, but need a bit of direction.
The docs advise creating a settings screen that toggles a site's optin status via
Status::set_status().https://github.com/stellarwp/telemetry#saving-opt-in-status-on-a-settings-page
In order to send data to the telemetry server a
tokenvalue is required. This is only generated if the user opts in via the optin modal. If they skip in the initial modal, but then try to enable it via a setting, no data will be sent to the Telemetry server.I'm not sure if this is a docs issue, and it is expected for plugins to call
Opt_In_Subscriber::opt_inourselves manually. To me, it seems like that should happen automatically.I'm happy to create a PR, but need a bit of direction.