You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracking:
For tracking this should be a replacement for the AJAX call we use right now. If there are concerns about compatibility (we know there are some custom JS implementations out there from the AJAX migration), this might be added additionally as fourth/fifth tracking method. Think we do not want to maintain both methods indefinitely though, so AJAX should be at least marked deprecated.
Visualization:
The dashboard widget should use this endpoint, so we no longer add the JSON hidden data table to the markup. We should restrict access to the same user group as for the widget and not open a public endpoint for the world though.
Nevertheless, this endpoint might be reused for frontend visualization (#224) in future releases.
Use a custom WP REST route for tracking requests. The tracking
logic is moved up into Statify class. The API logic is separated
into a new class, so additional endpoints can be added there.
Override the default nonce behavior for the tracking endpoint to
preserve the logged-in flag with nonce verification disabled.
Dynamically fetch data for chart and top lists from WP API.
We add some placeholders in the backend code to hopefully reduce
layout shifts and replace.
This issue is meant to be a starting point for discussing the usage of a custom REST API endpoint for tracking and/or showing data.
The text was updated successfully, but these errors were encountered: