Skip to content

kussin/GoogleReviewDynamicBadge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KUSSIN | Google Reviews: Dynamic Badge

Creates a dynamic badge for Google Reviews by fetching the latest reviews from the Google Places API.

Example:

KUSSIN | Google Reviews: Dynamic Badge - Preview

Supported Languages:

NOTE: All languages are cached separately to avoid unnecessary API requests.

Installation

Download the latest package from the GitHub and upload it to your server. - I recommend a separate subdomain for this purpose.

Configuration

Rename the file config.inc.php.dist to config.inc.php and adjust the settings to your needs.

Google Places API Key

To retrieve data using the Google Places API, you need to create an API key in the Google Cloud Console:

  1. Log in to the Google Cloud Console.
  2. Create a new project or select an existing project.
  3. Enable the API:
    • Go to APIs & Services > Library.
    • Search for Places API and enable it.
  4. Create an API key:
    • Navigate to APIs & Services > Credentials.
    • Click Create Credentials > API Key.
    • Restrict the API key (e.g., limit it to the Places API and specific IP addresses or HTTP referrers).

Google Places ID

To get the Google Places ID, you can use the Place ID Finder and enter the name of your business. The Place ID will be displayed in the search results.

How to Use

To display the badge on your website, you can use the following code snippet:

<img alt="Google Review Badge" src="https://subdomain.domain.de/" width="100%" height="auto />

And for other languages and GET parameter lang:

<img alt="Google Review Badge" src="https://subdomain.domain.de/?lang=de" width="100%" height="auto />

Bugtracker and Feature Requests

Please use the Github Issues for bug reports and feature requests.

Support

Kussin | eCommerce und Online-Marketing GmbH
Fahltskamp 3
25421 Pinneberg
Germany

Fon: +49 (4101) 85868 - 0
Email: info@kussin.de

Copyright

© 2025 Fuxstar GmbH

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published