Skip to content

Instantly share code, notes, and snippets.

@nuriye
Created September 25, 2019 07:29
Show Gist options
  • Save nuriye/4e7c9999c50a38dcd82d7b3c93389f9d to your computer and use it in GitHub Desktop.
Save nuriye/4e7c9999c50a38dcd82d7b3c93389f9d to your computer and use it in GitHub Desktop.
if (window.location.href.indexOf("newsletter") > -1) {
console.log(getUrlParameter('vorname'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment