If you are using the Refer a Friend, you might want to hide the In-app Referral widget in some pages.

You can do that by adding the following Javascript snippet in the page:

<script type="text/javascript">
function hideWidget() {
    var frame0 = document.getElementsByClassName("vl-frame")[0];
    var frame1 = document.getElementsByClassName("vl-frame")[1];
     frame0.parentNode.removeChild(frame0);
     frame1.parentNode.removeChild(frame1);
}
</script>

Was this article helpful? Let us know! 😃

Did this answer your question?