Add store and retailer locations
Put your stores, retailers, distributors or events on the map as layers you can turn on and off. File formats and the column spec.
Layers put your own locations on top of the heat map: your stores, the retailers that carry you, distributors, warehouses, events. Turn each one on and off above the map, hover a marker for its details, and see which states have plenty of profiles but nowhere nearby to buy.
Add a layer
- On the dashboard, click + Add locations under the map controls.
- Choose or drop a file. mapiyo reads it in your browser and matches the columns for you.
- Check the columns, name the layer and pick its type: Locations, Stores, Retailers, Distributors, Warehouses, Events or Other. If the file has a Type column, each value becomes its own layer, so one file can give you Stores and Retailers at once.
- Click Add to map.
Layers belong to the Klaviyo account, so everyone with that account in mapiyo sees them. Click a layer above the map to hide or show it; that choice is remembered on your device only. Manage renames a layer, changes its type, marker shape or color, downloads it as CSV, or deletes it. To update a layer, delete it and upload the new file.
With a layer showing, the Locations and your audience table under the map lists each state with its locations, profiles and profiles per location. Rows with no locations are where people know you but can't find you nearby.
File formats
| Format | Best for | Notes |
|---|---|---|
| CSV (.csv, .tsv, .txt) | Recommended. Any spreadsheet, CRM or store locator export | Comma, semicolon, tab or pipe separated. UTF-8 is best; Excel's Windows encoding works too. The first row is column names. |
| Excel (.xlsx, .xls) | Lists kept in Excel or Google Sheets | mapiyo reads the first sheet with data. The first row is column names. |
| GeoJSON (.geojson, .json) | GIS tools, Mapbox and store locator platforms | A FeatureCollection of Point features. Coordinates come from the geometry, everything else from properties, using the column names below. |
| JSON (.json) | Developer and API exports | An array of objects with the column names below, or an object with a locations or data array. |
| KML (.kml) | Google My Maps and Google Earth | Each placemark is a location and each folder becomes a layer. Export as KML, not KMZ. |
Not supported: KMZ (unzip it and upload the .kml inside), shapefiles (export GeoJSON or CSV from your GIS tool), and PDFs or pictures of maps.
Columns
One row per location. Column names aren't case sensitive, and spaces, underscores and dashes are ignored, so Store Name, store_name and STORENAME all match. You can also pick the column for each field yourself before saving. Columns not listed here are ignored and never stored.
| Column | Also accepted | Needed? | Example |
|---|---|---|---|
name | store name, location name, retailer, account, business, dba, title | Recommended | Example Bottle Shop |
address | address 1, street, street address. Line 2: address 2, suite, unit | Optional. Looked up when there are no coordinates | 120 Main St |
city | town, locality | Optional | Wellington |
state | region, province, state code | Optional | FL |
zip | zip code, postal code, postcode | US locations without coordinates | 33414 |
country | country code, country name | Optional. Blank means US | US |
latitude | lat | Outside the US, yes. In the US, a street address or ZIP works instead | 26.6587 |
longitude | lng, lon, long | Same as latitude | -80.2414 |
coordinates | coords, latlng, lat long | Instead of separate columns, latitude first | 26.6587, -80.2414 |
type | layer, category, channel, location type, store type, folder | Optional. One layer per value, up to 12 | Retailers |
id | store id, location id, store number, external id | Optional | FL-014 |
How each location is placed
- Latitude and longitude come first. Use decimal degrees, the way Google Maps shows them:
26.6587, not 26° 39′ 31″. Negative longitude is west and negative latitude is south. mapiyo also reads26.6587 Nand80.2414 W, and the apostrophe Excel adds in front of a minus sign. - A US street address comes next. When a row has an address but no coordinates, mapiyo looks it up with the US Census Bureau's free address finder while you check the columns, and places it on that spot. The address needs a city and state, or a ZIP code. Most US street addresses match; new buildings, PO boxes and unusual spellings sometimes don't. Its tooltip says "Placed from its street address".
- A US ZIP code is the fallback. The location goes at the center of its ZIP code, which looks right at state and national zoom, and its tooltip says so. ZIP+4 works, and ZIPs that lost their leading zero in Excel (2110 for 02110) are fixed.
- Outside the US, a location needs latitude and longitude.
- Rows that can't be placed are left out. Before you save, mapiyo shows how many, and you can download them with the reason for each.
Limits
- 10,000 locations and 10 MB per file.
- Up to 12 layers from one file's type column.
- 25 layers and 25,000 locations per Klaviyo account.
Templates
Download the CSV template, open it in Excel or Google Sheets and replace the example rows. There's also a GeoJSON example.
name,address,city,state,zip,country,latitude,longitude,type,id
Example Flagship Store,120 Main St,Wellington,FL,33414,US,26.6587,-80.2414,Stores,ST-001
Example Market,55 Harbor Rd,Boston,MA,02110,US,,,Retailers,RT-104
What mapiyo keeps
Only the columns above (name, address, city, state, ZIP, country, coordinates and your ID) plus each layer's name, type, shape and color. Upload business locations only: don't upload customers' home addresses, emails, phone numbers or anything else about people. A layer is deleted when you delete it, or when the Klaviyo account is disconnected from mapiyo.
Layers in exports and the API
In Export, tick Location layers to put the layers you have showing on the report, with a key. In the API, GET /accounts/{id}/layers lists them (add format=geojson or format=csv for every location), and layers=all on map.png draws them on the image. See the API guide.