JavaScript Popup then Redirect
A pure javascript solution to a popup box that redirects to a specific URL once the user closes the box.
HTML
<a href="#" onclick="popup()">Popup box, then go to Google</a>
JavaScript
function popup(){
alert('Thank you for clicking!');
window.location = 'http://google.com';
}