All Collections
PageAssist
PageAssist™ Advanced Configuration
PageAssist™ Advanced Configuration

How to configure PageAssist to open/close on specific visitor actions

Updated over a week ago

Section Topics


Introduction

By default, when PageAssist is activated it always appears on the website. This allows visitors to interact with it at any time. Other configurations are possible and PageAssist can be set up to behave differently.

This document gives instructions on how to open or close the Monsido PageAssist widget when a visitor performs a specific action on the page, for example, when the visitor clicks on a button or link.


Set an element to open PageAssist™

Hide the PageAssist™ widget until a visitor performs an action on the page, for example, when the visitor clicks on a button or link.

How to set it up:

  1. Hide the PageAssist widget on the website with CSS:

    #monsido-pageassist {
    display: none !important;
    }

    For more information, see the User Guide chapter:

  2. Select an element on the website to trigger PageAssist when the user clicks on it, and then assign it a unique ID. In this example, we assign the ID “open-page-assist” to a button element:

    ​​<button id="open-page-assist">Open Page Assist</button>

  3. Add the following script:

    var openPageAssistButton = document.querySelector("#open-page-assist");
    openPageAssistButton.addEventListener("click", function() {
    monsidoPageAssist.openPageAssist();
    });

    Note: When you implement the script on your own website, remember to replace “#open-page-assist” with the ID of your target element.


Set an element to close PageAssist™

It is also possible to close the PageAssist™ widget when a visitor performs a specific action on the page, for example, when the visitor clicks on a button or link.

Use the following method:

monsidoPageAssist.closePageAssist()


Additional information

For more information, see the User Guide chapters:

See Monsido for Developers for documentation and advanced help files for developers.

For further assistance, contact the Monsido support team at support@monsido.com or via the Monsido chat and help features inside the application.

The toolbar with the Help Center buttons highlighted.

Contact us:

Monsido, Powered by CivicPlus

San Diego, CA, USA

5880 Oberlin Dr,
San Diego, CA 92121, USA

Australia & New Zealand

Suite 2.04
80 Cooper St
Surry Hills, NSW 2010

Copenhagen, Denmark

Borupvang 3
2750 Ballerup, Denmark

London, UK

14 New Street
London, EC2M 4HE

Did this answer your question?