Skip to main content
Bulk Posting

Spintax & Dynamic Variables

When you post to many locations at once, you rarely want identical text. LocalOptics gives you two tools to vary content automatically: dynamic location variables and Spintax. They work in Multi-Location Posts and CSV bulk uploads.

Location variables

Wrap a variable in double curly braces and it is replaced with that location’s real data when the post publishes. For example, {{location.name}} becomes the listing’s name.

Available variables:

  • {{location.name}} - the listing name

  • {{location.category}} - the primary category

  • {{location.additional_categories}} - additional categories, comma-separated

  • {{location.description}} - the listing description

  • {{location.address}} - the full formatted address

  • {{location.address_lines}} - the street address

  • {{location.locality}} - the city

  • {{location.area}} - usually the state/region

  • {{location.administrative_area}} - also usually the state/region

  • {{location.region_code}} - usually the country code

  • {{location.postal_code}} - the postal code

  • {{location.service_areas}} - the service areas, if applicable

  • {{location.website_url}} - the listing website URL

  • {{location.business_website_url}} - the Business Profile website URL

  • {{location.maps_url}} - the Google Maps URL

  • {{location.review_url}} - a link customers use to leave a review

  • {{location.lat}} - latitude

  • {{location.lng}} - longitude

  • {{location.gps}} - latitude and longitude, comma-separated

  • {{location.language_code}} - the listing language code

  • {{location.primary_phone}} - the phone number - see the warning below

Never put {{location.primary_phone}} (or any phone number) in the post body. Google treats a phone number in post text as “phone stuffing” and may reject the post or suspend the listing — see Why Google Rejects Your Posts.

Spintax

Spintax spins one template into many variations. Put alternatives in curly braces separated by vertical bars — one option is picked at random each time the post is generated:

{Hello|Hi|Hey} there, {friend|neighbor}!

…produces “Hello there, friend!”, “Hi there, neighbor!”, and so on. You can nest Spintax for richer variation:

Today is a {good|great} day to {read|enjoy} a {book|{mystery|fantasy} novel}.

Combine them

Use both together: location variables fill in each listing’s real data, while Spintax varies the wording. The result is unique, natural-sounding posts for every location from a single template.

Was this article helpful?
Thanks for your feedback!

Related articles