Jump to content

can i hide or show some pages depends on location

Recommended Posts

Posted

Hello!

I want my website to understand where is visitor's location and accordingly hide or show some contents of a page, or all of the page. 

For example, a visitor's location is Turkey. And I want that he/she can see all the site except one title named "BAYILER" which is linked below:
https://chameleon-cranberry-dedh.squarespace.com/bayiler

But if he/she visits my site from another country except Turkey, there shouldn't be a block for that.

So, can we create some code for this?
Thanks for help!

Posted

Try a forum search for the terms geolocation and geofencing. Be sure to use the search everywhere option.

There are no specific solutions that I know of but you may get a sense of what is involved in approaching this effect.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.