Convertful Knowledge Base FAQ How to display Convertful widgets using code?

How to display Convertful widgets using code?

We do offer a coding way of displaying widgets, so you can load our script, but instead of using our “Display Rules”, you disable them and then use coding to show the widgets when you want.

To do this, in your code just replace "widget_id" with the ID of the widget that you want to display. You can find the ID of your widget in the URL as shown below:

1.png

Below is an example code that triggers a form on page load:

<script type="text/javascript">
$(window).on('load', function(){
Convertful.show(widget_id)
        });
</script>