indexgap maps

command

Which map listings the project's markets need, and the traffic they send.

For each market (--market RU,KR or "markets" in indexgap.json) prints the key maps and the other ones worth a listing, with the owner product behind each (Google Business Profile, Apple Business Connect, Bing Places, Yandex Business, 2GIS, Naver Smart Place, Kakao, Baidu Maps, Amap, Huawei Business Connect for Petal Maps, Firmy.cz for Mapy.cz, Waze, OpenStreetMap; TomTom and HERE through listing-management services). The reference is indexgap/data/maps.json: every fact names its page and says whether it was read on the vendor's site or seen only in a search snippet. --brand brand.json checks which listings are given under "profiles" (the same field and ids as indexgap entity) and whether the website links under "website_links" carry UTM parameters. --fetch downloads only those listing pages and compares the name, the postal code and the phone with brand.json facts. --gbp-performance reads the JSON response of the Business Profile Performance API (fetchMultiDailyMetricsTimeSeries; the value of a day is an int64 string, omitted when zero) and prints views on Maps and Search, calls, direction requests and website clicks. Exports of Yandex Business, Apple Business Connect and 2GIS are not read yet: their columns are not documented. indexgap analytics prints a Maps channel for GA4 and a Metrica segment; doctor --logs counts visitors referred by a web map, a lower bound. No network without --fetch.

Usage

usage: indexgap maps [-h] [--market RU,KZ] [--config CONFIG] [--brand BRAND]
                     [--fetch] [--online] [--gbp-performance gbp.json]
                     [--stats [yandex|apple|2gis=]FILE] [--json]
                     [--out maps.json] [--strict]

[experimental] maps (Google Maps, Yandex Maps, 2GIS, Naver…): which listings
the project's markets need, whether brand.json has them, a NAP check and the
Business Profile Performance API export

options:
  -h, --help            show this help message and exit
  --market RU,KZ        markets: country codes or groups (ARAB, GCC), comma-
                        separated, may be repeated; by default "markets" from
                        indexgap.json
  --config CONFIG       path to indexgap.json; by default looked up in the
                        current directory
  --brand BRAND         brand.json: profiles — listing addresses,
                        website_links — the website links in the listings,
                        facts — name, address, phone; by default "brand" from
                        indexgap.json or brand.json next to it
  --fetch               download the listings from brand.json and check the
                        name, postal code and phone. Without the flag the
                        network is not touched
  --online              turn on every network read of this command: --fetch.
                        Writes nothing to outside services — only --send does
                        that
  --gbp-performance gbp.json
                        a JSON response of the Business Profile Performance
                        API (fetchMultiDailyMetricsTimeSeries); may be
                        repeated
  --stats [yandex|apple|2gis=]FILE
                        a statistics export from the console: Yandex Business
                        (Excel), Apple Business Connect Insights (CSV), 2GIS;
                        the map is recognised by the columns or the file name,
                        a label wins; may be repeated
  --json                print the result as JSON
  --out maps.json       write the result and the findings to JSON
  --strict              exit code 1 when there are findings — for CI

The rest of the pipeline

← entity · cite →