Window History: 0

Simulate user journey, entry point from another page

User normally enters through entry point landing page /myreview and navigate it's way through /myreview/form

Entry point directly to page

This is the case of /myreview/form where user can enter directly to the form

TLDR;

As of the above researches, using beforeunload event will cater the requirements (#3 and #4), even with perks of customizeable popup popstate event (#1 and #2), it does not able to directly cater if the page itself is an entrypoint, and fail the interceptor