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
{{ message }}
Repository navigation
Manual pageview callback never runs when the pageview is skipped #130
sa_pageview(path, callback) only calls the callback when a request is sent. When the pageview is skipped, for example a repeated path or a path excluded by data-ignore-pages, the callback never runs.
Expected: the callback runs once for every sa_pageview call that passes one.
Current: sa_pageview("/same", cb1); sa_pageview("/same", cb2) sends one request and only calls cb1.
Why
Sites that continue navigation or other flow from the callback hang when the pageview is skipped.
Activity