How to use Google Business Profile location variables in Postoria
Google Business Profile location variables let you write one caption template and have Postoria replace location details separately for each selected Google Business Profile location when the post is published.
This is useful when you manage several locations and want each post to include the correct business name, city, address, website, map link, review link, or other location-specific details.
For example, instead of writing a separate caption for every location, you can write:
Visit {{location.name}} in {{location.locality}} this week.
When the post is published, Postoria replaces the variables using the live Google Business Profile data for each selected location.
Before you start
Here are the main things to know before using location variables:
- Location variables work for Google Business Profile captions.
- Location variables are replaced when the post is published.
- If you select several Google Business Profile locations, each location gets its own resolved version.
- The preview shows the template, not one final location-specific version.
- Postoria uses current Google Business Profile location data at publish time.
- If a variable cannot be resolved for a location, that Google Business Profile publish attempt will fail instead of publishing broken text.
- In the button URL field, only
{{location.website_url}}is supported. - Location variables do not apply to comments or non-Google Business Profile posts.
When to use location variables
Use location variables when the same post should mention details that are different for each Google Business Profile location.
Common examples include:
- Local store announcements
- Multi-location promotions
- Location-specific service updates
- Posts that include a city, area, or address
- Posts that link to a location website, map page, or review page
- Reusable post templates for several Google Business Profile listings
For example:
New update from {{location.name}} in {{location.locality}}.
Find us here: {{location.maps_url}}
If you publish this post to several Google Business Profile locations, Postoria prepares a separate version for each location.
Supported location variables
Postoria supports these Google Business Profile location variables:
| Variable | What it inserts |
|---|---|
{{location.name}} | Business name |
{{location.address}} | Full formatted address |
{{location.address_lines}} | Street address lines |
{{location.locality}} | City or locality |
{{location.area}} | Area or sublocality |
{{location.administrative_area}} | State, province, county, or administrative area |
{{location.postal_code}} | Postal code |
{{location.region_code}} | Country or region code |
{{location.website_url}} | Website URL |
{{location.category}} | Primary business category |
{{location.maps_url}} | Google Maps URL |
{{location.review_url}} | Google review URL |
{{location.lat}} | Latitude |
{{location.lng}} | Longitude |
{{location.gps}} | Latitude and longitude together |
{{location.language_code}} | Location language code |
{{location.description}} | Business description |
{{location.service_areas}} | Service areas, when available |
Use the variable names exactly as shown. Variable names are case-sensitive.
How to add location variables to a caption
- Open Postoria.
- Create or edit a Google Business Profile post.
- Add one or more Google Business Profile locations.
- Write your caption.
- Insert any supported
{{location.*}}variables where you want location details to appear. - Schedule or publish the post.
Example caption:
{{location.name}} is available in {{location.locality}}, {{location.region_code}}.
Address: {{location.address}}
Learn more: {{location.website_url}}
When the post is published, Postoria replaces each variable with the matching value for the Google Business Profile location being published.
How variables work with multiple locations
If your post is published to more than one Google Business Profile location, Postoria resolves the caption separately for each location.
For example, this template:
Visit {{location.name}} in {{location.locality}}.
could become one caption for one location:
Visit Northside Dental in Chicago.
and another caption for another location:
Visit Northside Dental in Austin.
This lets you prepare one post template while still publishing accurate local information for each business listing.
Use location variables in the button URL
You can also use a location variable in the Google Business Profile button URL field.
The supported button URL variable is:
{{location.website_url}}
This is useful when each selected location has its own website URL in Google Business Profile.
Use it as the button URL value:
{{location.website_url}}
When the post is published, Postoria replaces it with the website URL for the specific Google Business Profile location.
Other location variables are not supported in the button URL field. If you need to use map or review links, add them to the caption instead.
Use location variables with Spintax
Location variables can be used together with Spintax in Google Business Profile captions.
For example:
{Visit us|Stop by|Come see us} at {{location.name}} in {{location.locality}}.
At publishing time, Postoria prepares the final text by applying the template logic and replacing the location variables for each Google Business Profile location.
This makes it possible to create captions that are both reusable and location-specific.
What you see in the preview
The caption preview keeps location variables visible as template text.
For example, you may see:
Visit {{location.name}} in {{location.locality}}.
This is expected. The preview does not show a final value because a post may be published to multiple Google Business Profile locations, and each location can have different data.
Postoria highlights supported location variables in the Google Business Profile caption preview so you can quickly see which parts will be replaced when the post is published.
What happens if a value is missing
Some Google Business Profile fields may be empty for some locations.
For example, a location may not have:
- A website URL
- Service areas
- A business description
- Coordinates
- An area or administrative area
If your caption uses a variable and Postoria cannot find a value for that location, Postoria will not publish broken text with an empty value. Instead, that Google Business Profile publish attempt will fail and show an error.
For example, this caption needs a service area value:
We serve {{location.service_areas}}.
If the selected Google Business Profile location does not have service areas, the post will not publish for that location until you remove the variable or update the location data in Google Business Profile.
Practical examples
Local business update
New update from {{location.name}} in {{location.locality}}.
Find us here: {{location.maps_url}}
Review request
If you visited {{location.name}}, you can leave a review here: {{location.review_url}}
Location-aware promotion
{This week|For a limited time|Now available} at {{location.name}} in {{location.locality}}.
Learn more: {{location.website_url}}
Address reminder
You can find {{location.name}} at:
{{location.address}}
Service area message
{{location.name}} serves {{location.service_areas}}.
Use this only when your Google Business Profile location has service areas configured.
Best practices
Use location variables carefully so the final caption stays natural and accurate.
Before publishing, check that:
- Each variable is spelled exactly as documented.
- Every selected location has the data required by the variables you used.
- The caption still reads naturally after the variables are replaced.
- You do not rely on a variable that may be empty for some locations.
- Long fields, such as
{{location.description}}, fit the post you are creating. - URLs are used only where they make sense for the post.
- The button URL field uses only
{{location.website_url}}.
For large multi-location posts, start with a simple caption and test it with one or two locations before using it across many locations.
Troubleshooting
The preview still shows {{location.name}}
That is expected. The preview shows the caption template. Location variables are replaced at publishing time for each selected Google Business Profile location.
A post failed because a variable could not be resolved
This usually means the selected location does not have a value for that field in Google Business Profile.
To fix it, either:
- Remove that variable from the caption, or
- Update the missing information in Google Business Profile and try again.
A variable is not highlighted in the preview
Check that the variable is supported and spelled exactly as shown in this guide.
For example, {{location.website_url}} is supported, but {{location.website}} is not supported.
The button URL failed
The Google Business Profile button URL field supports only:
{{location.website_url}}
Other location variables are not supported in the button URL field.
The published text is different for each location
That is expected. Location variables are resolved separately for each Google Business Profile location, so each selected location can receive a different final caption.
Summary
Google Business Profile location variables help you create reusable location-aware captions in Postoria. Add supported {{location.*}} variables to your caption, publish to one or more Google Business Profile locations, and Postoria replaces them with live location data when each post is published.
Use them for local details such as business name, city, address, website, map link, review link, coordinates, description, and service areas.