We ran into something similar with click tracking mboxes in target. our
solution was to override the onclick and href values of the element
clicked, then in the success AND error states of the click tracking
call, we then created a new dom a tag on the fly, added the href back
for the next piece of js to use the window.location change. works well,
kinda hacky, but that's what we had to do in order to deal with the
window.location changes better way is to not do the window.replace and
instead rel...