Only the origin,
https://app.example/, because modern browsers default to strict-origin-when-cross-originModern browsers default to strict-origin-when-cross-origin. Requests to other origins get only the origin, and requests to your own origin get the full URL. But there is a catch: the analytics script runs in your page, so it can read location.href and the token anyway.
"The full URL, including the token" is the tempting wrong answer. That was the old default. Fixes: remove the token from the URL right after reading it with history.replaceState, set Referrer-Policy: no-referrer on sensitive pages, keep third-party scripts off them, and make reset tokens short-lived and single-use.
Read more