Track exit link for a page within a site
We want to track exit links for a page whenever the user leaves the page whether to a different page within the site or a completely different site. I've tried slightly different versions of the steps below:
1. Configure a rule that sets a variable upon landing on the page, without sending a beacon or clearing the variable.
2. A second rule that gets fired when history changes and the above variable exists. It sets a page URL variable, sends a beacon and then clears the variable.
But it seems like the variable doesn't exist when the user leaves the page, so #2 never gets fired. I think there's something about eVars and props that I don't understand. Or should I try a completely different approach? I've also tried props with pathing but wasn't sure if that was working either, and I've also read I should try to use eVar over prop.
