Created
September 20, 2013 22:40
-
-
Save elliotboney/6644890 to your computer and use it in GitHub Desktop.
redirect based on cookie
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 C(k){return(document.cookie.match('(^|; )'+k+'=([^;]*)')||0)[2]} | |
if(C('affiliate') == 'txrealtors') { window.location.href="https://al152.infusionsoft.com/saleform/nathnie"; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment