Created
December 7, 2018 14:22
-
-
Save JamesHusband/44e67fc18ddd2adf6a2159a274805753 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 ); | |
} | |
}; | |
conversionRedirect(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment