Skip to main content

Google Maps API Usage

Google counts every map it serves to your site and bills for use above its free allowances. This page lists each place Events Manager calls Google, so you can estimate your usage, and then the ways to bring it down and put a ceiling on it.

Rates and allowances are Google's and they change. Check Google's pricing page for current figures.

Where Events Manager calls Google​

What happens on your siteGoogle APICounted
A visitor opens a location or event page that contains #_LOCATIONMAPDepends on the map type: Maps JavaScript API (Dynamic), Maps Embed API (Embedded) or Maps Static API (Static, Pro)One map load per map on the page. A static map served from your cache is not counted.
A visitor opens a page with [locations_map] or [events_map], or switches a search to the Map viewMaps JavaScript APIOne map load per map
A visitor clicks a static map set to load an interactive oneMaps JavaScript API or Maps Embed APIOne map load, only for visitors who click
A visitor types in the Near... field of the search formPlaces APIAutocomplete requests as they type, and occasionally a place details lookup when they don't pick a suggestion
You open a location in the editor, or an event whose Where box shows a physical venueMaps JavaScript APIOne map load for the preview
You type or change an address in either editorGeocoding APIOne lookup each time an address field changes
Someone uses the front-end event submission form with a locationMaps JavaScript API and Geocoding APIThe same as the editor

A page with two maps counts two loads. A map counts when the page opens, whether or not the visitor looks at it.

Nothing is sent to Google when Enable Google Maps integration? is No.

Estimate your usage​

Start from your page views. The location and event pages that carry a map, multiplied by how often they are viewed in a month, is close to your map loads. If that number is small next to Google's free allowance for your map type, you may only need the safety limits described below.

Think about which pages are busiest on your kind of site. A site that takes event submissions from the public has more editor previews and address lookups. A site with a popular events list and search has more Near... searches than map views.

Reduce usage​

Choose the map type with care​

This is the largest lever. Dynamic maps count a Maps JavaScript API load for every page view. Embedded and static maps are counted under different APIs with different allowances, and a cached static map makes no call at all. See Google Map Types.

With Events Manager Pro, static maps with caching on, and a click action that loads the interactive map on request, keep both the look and the interactivity while counting far fewer loads.

Show maps only where they help​

Maps appear wherever a format contains #_LOCATIONMAP. By default that is the single location page and the single event page. In Events then Settings then Formatting you can remove it from one of them, for instance keeping the map on location pages and linking to the location from events.

Avoid #_LOCATIONMAP in list formats. A list of twenty events would load twenty maps.

The Near... field calls the Places API as visitors type, and nothing on your side can reduce that. If visitors can find events well enough by country, region, state or town, which need no Google calls, turn it off: set Show geolocation search? to No in Events then Settings then Formatting then Search Form. It appears twice there, once for the main search bar and once for the advanced search.

Limit who can reach the submission form​

Every load of a form with the location fields draws a map preview. If you accept event submissions from guests, anyone can load that page any number of times. Requiring an account before submitting cuts that down, along with spam.

Consider going without​

If you have a handful of venues, a link to Google Maps in each location's description, or a picture of the area as the location's image, tells visitors where to go with no API at all. Set Enable Google Maps integration? to No and Events Manager stops calling Google.

Set limits on Google's side​

Google offers two controls, and they do different things.

  • Budgets and alerts tell you when spending passes an amount. They don't stop anything.
  • Quotas cap the number of requests an API will accept in a day. When a quota is reached, that API stops answering until it resets, and the maps that depend on it stop loading.

Only quotas put a ceiling on your bill. Set one for every API you have enabled, at a level your budget can absorb, and add a budget alert below it so you hear before visitors notice. Google's guides: Manage costs for Maps Platform quotas, and Create budgets and alerts.

If a quota runs out, cached static maps keep showing, because they come from your own server. That is one more reason to use them on a busy site.

Restrict your keys​

A key that works from any website can be copied from your pages and used elsewhere, and the usage is billed to you. Restrict the browser key to your domain and to the APIs you use, and the server key to your server's IP address. See Restrict the key.

Disable every Google API you don't use. An API that is off can't be billed.