Home » Javascript » Redirect user to specific website based on location when user clicks on webform pop up link

Redirect user to specific website based on location when user clicks on webform pop up link

Posted by: admin August 19, 2018 Leave a comment

Questions:

We have a link on a website.

When user clicks on the link, it pop ups an online form.

Customer wants that if a user from outside the USA clicks on that link, user gets redirected to another website.

Is this doable?

Website is based on latest Drupal 8 Version just in case there is a module that does that.

Answers: