The community member is asking if there is an event to detect navigation change in order to run a custom script. Another community member responds that they have a script running on document ready, which works on refresh, but not when changing pages via a link in the menu. The issue is solved by refactoring the script to a callable function and including it in the embed script.