Can Rate

You can allow your users to rate the whole experience with their delivery process. The users will be able to rate with a certain number of stars representing their emotions about the experience. For each possible rating, the user is able to optionally select from a set of few short sentences, the reason that most aligns with their feelings or experience, allowing them to expand their motivation for giving a certain value.

Implementation



Available parameters

Parameter libParameter webDescription
hideElements.rateOrdercanRateAllows the process of rating to be started when the order is completed
default: "true"
options: "false: || "true"

Code

<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/status.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        hideElements: {             
            rateOrder: 'false', 
        }
    }
    window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&canRate=true

Demo


🤓

NOTE: Please do not modify the Demo, this is a visual aid.