Pinterest

The Pinterest button opens a Pinterest pop-up window where the survey taker can follow the company's postings. If not already signed in, the survey taker is prompted to do so.

Pinterest pop-up window that allows survey takers to subscribe to the company's account.

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.

Configure the link with these parameters. The values may be literal or retrieved from Data fields.

Parameter

Description

Example

handle

The Pinterest handle to view the company's page. For example, the <handle> portion of this URL is

https://www.pinterest.com/user/<handle>

Medallia

windowWidth

Optional. Height of the pop-up window in either pixels (integer) or as a screen percentage. Default is 600 pixels.

500(pixels)
50%(percent of window)

windowHeight

Optional. Width of the pop-up window in either pixels (integer) or as a screen percentage. Default is 600 pixels.

450(pixels)
75%(percent of window)

This example retrieves the Pinterest handle from the Unit data field named u_pinterest_handle:

<div id="social-link-config-pinterest" style="visibility: hidden; display: none;">
    <span id="pinterest-handle">[=u_pinterest_handle:html]</span>
    <span id="pinterest-window-height">600</span>
    <span id="pinterest-window-width">600</span>
    <script type="text/javascript">
        if (!Array.isArray(window.MedalliaSocialLinks)) {
            window.MedalliaSocialLinks = [];
        }

        window.MedalliaSocialLinks.push({
            type: 'pinterest',
            handle: document.getElementById('pinterest-handle').innerHTML,
            windowHeight: document.getElementById('pinterest-window-height').innerHTML,
            windowWidth: document.getElementById('pinterest-window-width').innerHTML
        });
    </script>
</div>