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.
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 Instagram link
Configure the link with these parameters. The values may be literal or retrieved from Data fields.
|
Parameter |
Description |
Example |
|---|---|---|
|
|
The Instagram handle to view the company's page. For example, the
|
|
|
|
Optional. Height of the pop-up window in either pixels (integer) or as a screen percentage. Default is 600 pixels. |
|
|
|
Optional. Width of the pop-up window in either pixels (integer) or as a screen percentage. Default is 600 pixels. |
|
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>
