Created
March 25, 2021 14:44
-
-
Save johndavidsimmons/94bb78b68691dd9f3d612448794365b7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| var redirect = function(url) { | |
| var params = new URLSearchParams(location.search); | |
| var qls = params.get("qls") || ""; | |
| var adobe_mc_sdid = s.visitor ? s.visitor._supplementalDataIDCurrent : ""; | |
| var adobe_mc_ref = window.location.href; | |
| var now = Date.now().toString().slice(0,10); | |
| var redirect_url = url + "?qls=" + qls + "&adobe_mc_sdid=SDID" + adobe_mc_sdid + "&adobe_mc_ref=" + adobe_mc_ref + "&|MCORGID=5D60123F5245B13E0A490D45@AdobeOrg|TS=" + now; | |
| window.location.replace(redirect_url); | |
| } | |
| // redirect to this URL | |
| redirect("https://www.rocketmortgage.com/alf/bamdre/mortgageComparison"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment