Goal: To display information depending on a website visitor’s IP address.
Here’s the script to pull the IP address, which works:
"https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js">
Question: How do I pull the “GFG” element and then use that with Shopify liquid?
Example: {% if “customer’s IP address” == “8.8.8.8” %}Display something{% endif %}