Created
December 7, 2018 14:21
-
-
Save JamesHusband/383bf61f48bb246f9bd6da1d9cac4844 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function conversionRedirect() { | |
var goData = document.getElementById( 'go-data' ); | |
if( goData ){ | |
var redirect = goData.dataset.redirect; | |
window.setTimeout( window.location = redirect, 3000 ); | |
} | |
}; | |
window.onload = conversionRedirect(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment