Google Reviews Integration Plugin
Introduction
The Google Reviews Integration plugin allows you to display Google Maps reviews directly on your listing detail pages. This helps build trust, improve credibility, and give visitors real social proof from Google.
The plugin pulls official data from Google Places API (New) and shows a limited set of reviews along with key business information, fully integrated into your eDirectory site.
What This Plugin Does
When enabled, the plugin displays up to 5 Google reviews on the listing detail page, including:
-
β Average rating
π₯ Total number of reviews
π Link to the business page on Google Maps
π Language and region support, based on your siteβs locale
π Sorting option for visitors:
- Most relevant
- Most recent
Fallback behavior
If Googleβs API does not return reviews (due to restrictions, permissions, or missing data), the plugin will still display:
- The average rating
- The total number of reviews
-
The Google Maps link
(Reviews themselves will not appear.)
β οΈ Important limitation
Due to Google Places API restrictions, it is not possible to display all Google reviews. The API returns a maximum of 5 reviews.
Requirements
Before using this plugin, you must have:
- A Google Cloud Platform (GCP) account
- Billing enabled on your GCP project (required by Google)
- A Google Places API (New) key
- Access to your eDirectory admin panel (sitemgr)
How to Configure the Plugin
Step 1: Create a Google Places API Key
- Go to the Google Cloud Platform's API Console.
- Create or select an existing project.

If there is already a project created, make sure the project is selected.

- Enable Billing for the project: to enable billing for your project, refer to this article: How to Enable Billing
If you alredy have a google maps API key in your site, you probably have a billing account set up for your account. If this is the case, you can skip to step 4.
- Navigate to Library

- Search for Places API (New) and click on it.

- Click to enable it

- Now, navigate to APIs & Services by accessing this link: Google Cloud Platform's API Console.
- Click on the "Credentials" option

- Click on Create Credentials and then on Create an API Key

Step 2: Restrict the API Key (Mandatory)
To prevent unauthorized use and unexpected costs, you must restrict your API key.
Restrict by IP address
- Name your API key "Google reviews", for example.
- Select the option "IP addresses (web servers, cron jobs, etc.)"
- Add the IP address(es) of the server where your eDirectory runs
Important Note for Shared Hosting Users: If your website is hosted on one of our shared servers, please insert the following IP addresses exactly as listed:
- 52.52.23.74
- 54.233.157.59
Important Note for Self-Hosted or Dedicated Server Users: If your website is self-hosted or on a dedicated server and you are unsure of your server's IP address(es), please contact our support team at support@edirectory.com for assistance in identifying the correct IP addresses to add here.
β οΈ Without IP restriction, third parties could use your key, generating unwanted requests and charges.
Recommended additional restriction
- Under API restrictions, allow only Places API (New)
- Click on "Create"

- After clicking on "Create", the API key will be displayed, click in the option to copy it.

Step 3: Add the API Key to eDirectory
- Log in to your site manager (sitemgr)
- Navigate to Settings > General Settings> Plugins tab

- Find the Google Reviews plugin settings and paste the copied API key in the Google Reviews field.

- Save your changes
- Navigatye to Content > Listings > Listing templates
- Choose a template to edit.

- Click to add a widget and add the Google Reviews widget to your template.

- Save Changes

- After setting it up, the reviews will display on the listings.

Google API Costs: What You Need to Know
Google charges per API request, based on usage and requested data. With this plugin, the following calls usually occur:
A) Text Search (to find the Place ID)
- Endpoint:
places:searchText - Typical tier (SKU): Text Search Pro
- Used to locate the business based on name and address
B) Place Details (to fetch reviews and data)
-
Endpoint:
/v1/places/{placeId}When reviews are requested:
- Tier (SKU): Place Details Enterprise + Atmosphere
- This is the highest cost part of the integration
C) Fallback (without reviews)
If reviews cannot be retrieved:
- Tier (SKU): Place Details Enterprise
- Only rating and review count are fetched
π Practical summary
A listing page with reviews enabled typically triggers:
- 1 Γ Text Search Pro request
- 1 Γ Place Details Enterprise + Atmosphere request
Most of the cost comes from Place Details with reviews.
Where to check pricing
Google pricing varies by region and usage volume. For up-to-date pricing, consult the Google Maps Platform Pricing page and look for:
- Places API β Text Search Pro
- Places API β Place Details Enterprise
- Places API β Place Details Enterprise + Atmosphere
Best Practices to Reduce Costs
- π Always restrict your API key by IP
- π Ensure listings have complete and accurate addresses
- π Monitor usage in GCP β Billing β Reports
- π¨ Set up billing alerts and budgets in Google Cloud
Frequently Asked Questions
Does the plugin show all Google reviews?
No. The Google Places API returns up to 5 reviews only. Displaying all reviews usually requires Google Business Profile access.
Does this work in mobile apps?
No. This plugin applies only to the website, not to mobile applications.
Why donβt some listings show reviews?
Possible reasons include:
- The business cannot be found (incomplete title or address)
- The business has no public Google reviews
- API key restrictions or missing permissions
- Billing not enabled on Google Cloud
- API quotas or limits reached
Conclusion
The Google Reviews Integration plugin is a powerful way to enhance your listings with trusted, real-time Google review data. With proper configuration and API key restrictions, it provides great value while keeping costs under control.
If you need help setting up your API key, server IP restrictions, or widget placement, our support team is happy to assist.