Filter by distance from a location
After these steps, the audience keeps records within a distance of a place, or outside it, for example donors within 25 km of an event.
Before you begin
- Setting
- A Location field with values, such as an address with latitude and longitude.
- Permission
- Campaign Audience Builder: User permission set group or one that contains it. See Permission sets.
-
In the dialog of a node, add a condition and choose a Location field under Field, such as Mailing Address. See Define filter conditions.
-
Under Operator, choose Is Within to keep records inside the radius, or Is Not Within to keep records outside it.
-
Select the button under Value. A window opens, named after the field and the operator.
-
Enter the Distance and choose mi or km under Unit. With the Salesforce locale English (United States), CAB suggests miles; otherwise kilometers.
-
Under Location, enter latitude and longitude, or copy coordinates and select Paste Coordinates.
-
Optionally, enter a Location Description, such as the event’s name. It appears with the coordinates in the condition.
-
Select Save, then Done.
To copy coordinates in Google Maps, right-click the place and select the coordinates. Paste Coordinates expects latitude, then longitude, separated by a comma, such as 52.5200, 13.4050.
Ask Cabby for a place
Section titled “Ask Cabby for a place”Cabby can turn a place name into coordinates, for example “contacts near Berlin”, and builds the same condition. Check the field, radius, unit and point before you apply it. See Build and activate audiences with Cabby.

