A tribe is one location, branch or business unit inside your organisation. Its address says where it sits. Its territory says which area it covers, which is a different question and often a much larger area. One tribe on one side of a city may serve half of it; two tribes a few streets apart may serve quite separate suburbs. Setting a territory is how you tell Gorilla Dash the difference, so that a customer looking for their nearest location is sent to the tribe that actually serves them rather than the one that happens to be a shorter drive away.
Where to set it
Open the tribe from your tribe list, choose Tribe Settings in the tribe's menu, and go to the Address & Territory tab. Below the address and its map you will find Tribe Territory, which holds both ways of describing the area: a boundary you draw on a second map, and a list of Territory Postcodes / ZIP codes. You can use either on its own, or both together.
Two maps, doing two different jobs
The tab shows a map twice, and it is worth knowing which is which before you start, because the mistake is easy to make and quiet when you make it. The upper map, directly under the address fields, carries a single draggable pin that is the tribe's own position — the latitude and longitude every search depends on. Drag that pin, press Set pin location from address, or type into the Latitude and Longitude fields beneath it, and you are correcting where the tribe is.
The lower map, under the Tribe Territory heading, is where the boundary is drawn. It also shows a pin, but that one is only the map's own centring point: moving it does not move the tribe, and it is discarded altogether if no shape is drawn. If the tribe is in the wrong place on the map, correct it on the upper map, not this one.
Drawing a boundary
The map is the more precise of the two ways of describing a territory, because a real trading area rarely follows postcode lines. Along the top of the territory map sit three buttons — Move map, Draw area and Clear all. Once there is something to say, a black hint bar appears underneath them telling you what the map is expecting next. Read it as you go; it changes once you have placed the third corner, which is the point at which the shape can be saved.
- Drag and zoom the map until you can see the whole area the tribe covers. Getting the view right before you start saves you clicking corners you cannot see.
- Choose Draw area. The button turns red and the cursor becomes a crosshair.
- Click once on each corner of the boundary. A shaded shape follows your clicks. Three corners is the minimum, and there is no maximum — click as often as the boundary needs.
- When the shape is complete, click Save area in the hint bar. It stays grey until you have placed three corners, then turns red. (Double-clicking the map does the same thing, but the button is the reliable way.) The map drops back to Move map and the finished shape gains white handles.
- Repeat steps 2 to 4 if the territory is in separate pieces — a tribe that covers two towns with somebody else's area in between, for example.
- Save the tribe.
Changing or removing a shape
A finished shape can be adjusted without redrawing it. With Move map selected, drag any of the white handles along its edge to move a corner, or drag one of the fainter handles between two corners to add a new one. This is usually quicker than starting again when a boundary needs to grow by a suburb or two.
- To remove one shape, click inside it and choose Delete.
- To remove every shape at once, choose Clear all and confirm.
Listing postcodes
Where your territories genuinely follow postal boundaries, a list of postcodes is quicker to maintain than a drawn shape and easier to hand to a franchisee in writing. Type each code and press Enter to add it as an entry of its own. You can also paste a whole list in one go, and it will be split into separate entries for you: commas, semicolons, spaces and line breaks all count as separators, so a column copied straight out of a spreadsheet works just as well as a comma-separated line. The hint underneath the field mentions only commas, but the others work too.
Because a space separates one code from the next, a postcode that has a space inside it cannot be pasted. Pasting "SW1A 1AA, EC1A 1BB" gives you four entries — SW1A, 1AA, EC1A and 1BB — instead of the two you meant, and not one of the four will ever match a customer. If your country writes postcodes with a space in them, as the United Kingdom, Canada and the Netherlands do, type each code and press Enter rather than pasting. If a list has already been pasted, read the entries back one by one before you save: a territory that has been split this way looks perfectly full on screen, which is why the problem tends to surface as a misrouted enquiry weeks later.
What a territory is used for
A territory is used for one thing: working out which tribe a customer belongs to when somebody or something has to decide. That covers the location finder on your website, the website chatbot when a visitor names where they are, the tribe search endpoint in the API, and the tribe an enquiry pushed in through the API is assigned to. All of them ask the same question in the same way, which is described in How a customer is matched to a tribe.
Overlaps and gaps
Nothing stops two tribes claiming the same ground, and nothing requires your territories to cover the whole country. Both situations are handled, so neither is an error you need to hunt down:
- Where two territories overlap, an address inside both matches both tribes, and the nearer of the two is offered first.
- Where no territory covers an address at all, the search falls back to the nearest tribe by distance, so a customer always gets an answer.