Skip to content

Documentation

Extensive Documentation for PowerPack & WooPack to help you with common questions and issues.

PowerPack

⌘K
  1. Home
  2. Docs
  3. PowerPack
  4. Modules
  5. Reviews
  6. How to get the Google Maps API key to show Google Reviews?

How to get the Google Maps API key to show Google Reviews?

Setting up Google Reviews with PowerPack Reviews module is simple but before we begin, first make sure you have these two things –

  • PowerPack plugin installed and activated.
  • Google Maps API Key

Getting the Google Maps API Key

Google Reviews integration uses the Google Maps API to fetch the reviews and display them. Let us learn how to fetch the API Key.

  1. Go to the Google API Console.
  2. Create a new project or select a project from the Select the Project dropdown.
  1. After creating the project click Enabled APIs and Services option on the project page.
  1. Select the Maps JavaScript API from the APIs list and click the ‘Enable‘ button.
Enable Maps JavaScript API
Enable Maps JavaScript API
Maps JavaScript API Enabled
  • Go back to API Library and select Places API and enable it as well.
Enable Google Places API
Places API
  1. After enabling the Maps API, select the APIs and Services option and then the Credentials option from the sidebar.
  1. On the next page, select Create Credentials > API Key

7.  A modal box will appear with the newly created API key. Now select Restrict Key option to restrict the API Key usage.

NOTE: It is mandatory to restrict the API Key as per the new guidelines by Google.

  1. Once you’re on the Restriction Settings Page, it is very important to set the right kind of restrictions so that you can use the Maps API without any issues.
  2. Select None from the Application Restrictions list as the Maps API requires no restrictions for applications.
  3. In the next step, select the Maps JavaScript API and Places API from the API restrictions list and click Save to complete the setup.
  1. After the settings are saved you’ll be redirected back to the Credentials page. Copy the API Key from here.

Add API Key to PowerPack’s Settings

  1. After copying the API go to the WP Admin > Settings > PowerPack > Integration and paste the API key in the Google Maps API key field and click save changes.
Google Maps API Key in PowerPack Settings
Google Maps API Key in PowerPack Settings

Once the API key is set you can search and add the maps’ ID and add it to the module and the reviews should load.

Get the Places ID

  1. Go to https://developers.google.com/places/place-id
  2. Search for the place whose reviews you want to show
  3. Copy the shown Place ID and paste it into the Reviews Module
Get the Google Place ID for the Business
Get the Google Place ID for the Business

That’s it! Now you should be able to see the fetched reviews in the editor.

Google Reviews shown by PowerPack Reviews Module.

Note: Google has now made it mandatory to have an active billing account associated with your API key. Click here to enable billing.

×