Step 5: Advanced Features - Widget

  • Updated

Note: To use Ungapped's Widget Editor, you must have an Automation or Enterprise subscription. (The Widget Editor is not available with a Basic or Pro subscription.)

 

POP-UP Function

To display the subscription form as a pop-up on your website, you need to add a JavaScript to your site.

Use the "Main script" for this purpose.

 



 

Here's how a code snippet might look:
https://cdn.ungapped.com/08239f51-2990-47e4-823a-7948e6c96c40/widget.js

You need to add script tags before and after the above code.

Example with added script tags

<script src=”https://cdn.ungapped.com/08239f51-2990-47e4-823a-7948e6c96c40/widget.js”></script>

WORDPRESS och GUTENBERG

If you’re using the Gutenberg editor, you can, for example, insert the script on a specific page of your site using the “Custom HTML” block.

This is step five in the subscription form manuals. See below for other steps:


Step 1: Requirements for the subscription form
Step 2: Preparations - Subscription form
Step 3: Create subscription form
Step 4: Publish your subscription form
Step 5: Advanced Features - Widget