Accepting Students Only from a Specific Country?

Murray Gray in Selling

Jun 10, 2023 - 1 min read. .

Table of Contents

How to Stop People Outside Country X from Seeing Your Order Form

  1. Edit your Order Form
  2. Drag a JS/HTML block to the top of your order form
  3. Enable the snippet and add the following code:

       .then(response => response.json())
       .then(data => {
       if (data.countryCode !== 'US') {
         window.location.href = "";

    This code will redirect people not in the USA to To redirect elsewhere, simply replace with the URL of your choice.

    Here's a video of me doing it: