How to use website dynamic content based on the user's location

PlaybooksBy Mariana Bonanomi and Yasmin Gonçalves

Geomarketing may not be a brand new strategy, but no one can argue that it's one of the most powerful marketing strategies.

Using dynamic geolocation-based content allows companies to communicate only to users browsing from specific regions without affecting the navigation experience elsewhere.

This article is a how-to guide to help you personalize your website based on the user's location. Follow this step-by-step playbook to implement this strategy effectively.

Forever-free accountStart personalizing today

Our platform makes personalization based on user's location a breeze so you can increase conversions.

How to create your personalized experience based on the user's location

Creating an experience is as easy as defining which users you want to impact, what part of your website you want to change, and the personalized content you want to show them. You can follow the steps below or watch this video for more details:

Step-by-step for location-based personalization
Step-by-step for location-based personalization

Start by heading to Experiences, click New, and choose a name for your experience. Now, we'll show you how to:

  • Segment users based on a specific location
  • Select the slot you want to personalize
  • And define which content you’ll display to users browsing from that location

Audience

With Croct, you can segment users based on their location using information like the current country, state, or city—here you can find all location variables available. It is also possible to add two or more campaigns to the same audience using or, and, is, or is in.

Click on New audience and enter a CQL expression that matches the target audience, like this:

  • location's city is "New York"
  • location's stateCode is in ["NY", "CA"]
Screenshot of Croct's admin. A breadcrumb defines steps for creating an experience. A side drawer shows a form for defining audience name, ID, and criteria.
How to create an audience

Slot and content

Slots are any personalizable elements of your application.

Three wireframes highliting slots you can personalize.
Announcement bar, hero section, and carousel section slot examples

Some popular choices are the announcement bar, the hero section, and the carousel section. Still, you can also personalize any page section to include targeted information.

Screenshot of Croct's admin. A breadcrumb defines steps for creating an experience. A drop-down menu displays options of slots you can personalize.
How to select a slot

Select the slot you want to personalize, and finally, click on Content to specify elements such as images, copies, and button colors you want your audience to view. Be creative!

Screenshot of Croct's admin. A breadcrumb defines steps for creating an experience. A side drawer shows a content form for images, copies, and colors of the personalized content
Croct's content form makes it easy to define which personalized elements to display

Extra options

Besides creating an audience, choosing the slot, and defining the content, you can also prioritize this experience over others, choose a different time zone, and schedule its start to whenever you prefer.

Screenshot of Croct's admin with buttons with options of scheduling, prioritizing, and choosing a time zone for a personalized experience.
You can schedule, prioritize, and choose a time zone for experiences

Next, publish your experience or go to the preview to see the magic happen!

What's next?

Geo-location-based personalization can significantly enhance the user experience and allow you to offer discounts and pricing plans for specific regions and display prices in the users' local currencies.

Use the user's location to tailor content and explore other personalization strategies, such as targeting organic search visitors. Start using these techniques with our platform to increase your conversion, reduce your CAC, and optimize your marketing results.

Need more inspiration? Browse other playbooks and check some personalization ideas for e-commerce or SaaS.

Happy personalization!

Let's grow together!

Learn practical tactics our customers use to grow by 20% or more.