If you're using the PVWP or similar webpart that wraps content in an
iFrame, you have minimal visibility or control over that frame once
you've set the initial URL -- all the interaction is between the
browser and the embedded application, SharePoint isn't involved at all.
It may be possible to hook into changes to frame content (current URL,
application state) using JavaScript and somehow pass that back to SP,
but it's likely going to take some work.