Tracking Leaving and Returning Users

I have a page with a url in this format: http:// [our domain] / [more identifying information]

The page contains links to external websites. I would like to set up something that would track when a user leaves the site but then returns quickly. I’d need the full URL reported. Is there a way I can do this using events or custom variables?

Thank you.