Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Preserve monetization state for MPAs #597

Open
sidvishnoi opened this issue Sep 16, 2024 · 1 comment
Open

[FEATURE REQUEST] Preserve monetization state for MPAs #597

sidvishnoi opened this issue Sep 16, 2024 · 1 comment
Labels
discussion: idea Ideas of potential features enhancement New feature or request

Comments

@sidvishnoi
Copy link
Member

sidvishnoi commented Sep 16, 2024

Describe the feature you would like to request

Consider an MPA (read: regular websites) where users spend a short time per page (e.g. web comics), but spend overall enough total time per site. Right now, any navigation on same site leads to monetization status to be reset (as we store state per "document", not per tab/site).

So, essentially, these sites get punished as payment sessions may take a while to start, and user might have navigated away (different page on same site) before next payment starts.

Describe the solution you would like

For navigation in multi-page applications, preserve monetization state and payment sessions as long as the navigation is in the same tab and same website (origin) and the link tags are same (same address and same order).

Additional context

SPAs don't face this problem as they're a single document, and link tags are mostly stable with only the page content changing.

@sidvishnoi sidvishnoi added triage Waiting to be assigned labels discussion: idea Ideas of potential features labels Sep 16, 2024
@sidvishnoi sidvishnoi added enhancement New feature or request and removed triage Waiting to be assigned labels labels Sep 18, 2024
@sidvishnoi
Copy link
Member Author

sidvishnoi commented Jan 20, 2025

And when the MPA site isn't punished, we clear overpaying state and end up sending them more money for each navigation (i.e. abuse by having many short-time-spent pages).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion: idea Ideas of potential features enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant