Articles on: Get Started

How to embed a form in your website?

Go to your website's code or page editor.

Make sure that you created a form (not a popup). If you don't have a Poptin form yet, go to Forms in the Poptin dashboard and create a new one by clicking on New Form.



Once you will choose the template and finish with its design, you will get to the third step which is Display Rules.

You will see there a unique code that you need to copy. If you already set up all display rules that you wanted to, you can copy it and click on Publish changes.



If you use WordPress, please skip the next step (4th) and get to the 5th.

Put the copied code into your website code. It is up to you where do you prefer to have it. I decided to put it at the end of my article section.



That's it! You embed a form on your website. The next steps are only for WordPress users.

There are two ways how to embed a form in WordPress.
You can use a shortcode. Please, click on this link to see how you can do it.
You can use dev code. If you are going to use this one, please, go back to your WordPress dashboard, choose a page where you would like to put a form, and click on Edit.



Click on the plus button in the left corner and look for Custom HTML in widgets. Once you will find it, just add it to your page by clicking on it.



Paste the copied code from Poptin and Update your website. That's it, you can go to check your new form on your WordPress website.

Updated on: 15/11/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!