Google Review
The Google Review button opens the Google Rate and review form in a pop-up window where the survey taker can post a review of the company. If not already signed in, the survey taker is prompted to do so.
Shortly after the pop-up loads, the button changes to its disabled state.
For information on how to implement a social link in a survey, see Social links in surveys.
Configuring the Google Review link
Configure the link with these parameters. The values may be literal or retrieved from Data fields.
|
Parameter |
Description |
Example |
|---|---|---|
|
|
The place ID assigned by Google to the company’s business. For more information, see Retrieving a Google Place ID. |
|
|
|
Optional. Width of the pop-up window in either pixels (integer) or as a screen percentage. Default is 600 pixels. |
|
|
|
Optional. Height of the pop-up window in either pixels (integer) or as a screen percentage. Default is 600 pixels. |
|
This example retrieves the Place ID from the Data field name u_google_review_placeid:
<div id="social-link-config-google-review" style="visibility: hidden; display: none;">
<span id="google-review-placeId">[=u_google_review_placeid:html]</span>
<span id="google-review-window-height">800</span>
<span id="google-review-window-width">800</span>
<script type="text/javascript">
if (!Array.isArray(window.MedalliaSocialLinks)) {
window.MedalliaSocialLinks = [];
}
window.MedalliaSocialLinks.push({
type: 'googleReview',
placeId: document.getElementById('google-review-placeId').innerHTML,
windowHeight: document.getElementById('google-review-window-height').innerHTML,
windowWidth: document.getElementById('google-review-window-width').innerHTML
});
</script>
</div>
Retrieving a Google Place ID
To obtain the Google Place ID of the unit, enter the location name in Place ID Finder, making sure the location is accurate.For the link to work, Google must have a correct Business profile for the location. Otherwise, it returns an error.
