What you will learn in this article

How to create segments based on recurring visits in specific locations. In this article, we decided to select the store chain Trader Joe’s to create segments of frequent (once a week) and avid (3 times a week) visitors.


The HEROW platform enables you to draw multiple sets of locations. These locations must be categorized by their objective (key to your revenue model or secondary to study the behavior of your users). To get more information on how to create and categorize locations, you can refer to this article.

In this context, we created 3 zones over my store locations.

My Trader Joe’s locations in downtown Manhattan and Brooklyn

Map my contexts

To separate the type of location data you will be obtaining from studying your users’ behaviors, you should first decide it the chosen contexts fits one or the other description the best:

  • This location is a key component to generating revenue for my app.

This is a primary context which you should use to create additional revenue

  • This location is essential to studying life habits from my users to understand their global preferences.

This is a secondary context that will help you understand who you are talking to.

In this case scenario, I do generate revenue through my network of stores, which are then considered to be primary locations!

How to create segments

Using the “create segment” interface on HEROW you can create groups of users based on the following event: Visits - target people that came through these 3 specific shops last week.

Go to "Create Segment" to access the segment creation module

In our Trader’s Joe context, we create 2 segments, the first one being 1 visit last week and the second one more than 3 times last week.

Select a visit count equal to 1 (regular) and more than 3 (avid), then select the Trader Joe’s locations and apply it on “last week’”.

Selecting a relative timeframe (last week) compared with an absolute (from date x to date y) has the advantage to be on a rolling basis, meaning this segment will populate dynamically over time.

My Avid Trader Joe’s Shopper segment and its parameters

Then just validate the segment creation and it will be available in your segment list under the “Custom” section.

Now you’re ready to use these segments in your engagement campaigns or use this data in third-party integration.

Did this answer your question?