Placing a form on the website
UA | US | RU
|
---|
After creating the form, you will receive several blocks of code that will be used, depending on how the form is placed on the site:
First method (recommended)
Button - “copy code” Place the initialization script (1) at the very end of the body of the page - before the closing tag </body>;
Initialization script for the LGT itself. Place it in the place on the site where you want to see your LGT of the “Form” type.
The link is the same in functionality as point 2. Place it in the place on the site where you want to see your LGT “Form” type.
Second way
After creating the form, in addition to the link, you will receive two blocks of code that must be placed in the code of your web page.
Button - “copy code” Place the initialization script (1) at the very end of the body of the page - before the closing tag </body>;
Initialization script for the LGT itself. Place it in the place on the site where you want to see your LGT of the “Form” type. But not below the initialization script.
The link is the same in functionality as point 2. Place it in the place on the site where you want to see your LGT “Form” type. But not below the initialization script.
After that, you need to create an element that will contain the form. The id for such an element should be set to the selector found in the form settings (without the # symbol).
Example: <div id="wepster_action_element"></div>
The form will appear on the site where this element is located.