DBRIEL Posted January 22, 2021 Share Posted January 22, 2021 Site URL: https://www.mountain-goats.com Is it possible to provide a link based on a users IP address? We have a 'merch’ link and we have multiple stores for that link based on location; US/NA, EU/UK, etc, and want the link to direct to proper store via IP. Beyondspace 1 Link to comment
Beyondspace Posted April 4, 2021 Share Posted April 4, 2021 On 1/22/2021 at 10:04 PM, DBRIEL said: Site URL: https://www.mountain-goats.com Is it possible to provide a link based on a users IP address? We have a 'merch’ link and we have multiple stores for that link based on location; US/NA, EU/UK, etc, and want the link to direct to proper store via IP. It can be achieved using javascript, I had created snippet that change the book's amazon store url based on user ip. You can look up user location using this service http://extreme-ip-lookup.com/ Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment