Instagram

The Instagram button opens a Instagram page 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.

Instagram Follow button

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 Instagram handle to view the company's page. For example, the <handle> portion of this URL is:

https://www.instagram.com/<handle>

Medallia_inc

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 Instagram handle from the Data field named u_instagram_handle:html:

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

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