
Plugin Name: Footnote Analytics
Footnote Analytics lets editors add reusable footnote text and connect it to selected text in posts or pages with a data-term key.
On the front end, readers can click the marked text to open a lightweight footnote popup.
The plugin records anonymous footnote click/open events inside WordPress, separate from GA4.
It stores the footnote key, title, post information, URL, referrer, device type, user agent, and clicked time. IP addresses are not stored.
The admin analytics screen displays all recorded ranking rows and latest events.
Screenshots

Footnote editor screen with the data-term key field.

Gutenberg toolbar button for applying a footnote key to selected text.

Front-end footnote popup opened from marked text.

Analytics ranking tab showing all ranked footnotes.

Debug tab with table status, REST API URL, JS settings, and test event tools.