leadgen-widget

LeadGen Widget, an open-source, pluggable widget designed to enhance lead generation on websites.

MIT License

Stars
1

LeadGen Widget

Overview

Welcome to LeadGen Widget, an open-source, pluggable widget designed to enhance lead generation on websites. This README file provides essential information to help you understand, install, and customize the LeadGen Widget for your website.

Features

  • Plug and Play: Easily integrate the LeadGen Widget into your website with minimal effort.
  • Customizable: Tailor the widget's appearance and behavior to match your brand and user experience.
  • Lead Capture: Efficiently capture leads through a user-friendly interface.
  • Extensible: Expand functionality by adding custom plugins and integrations.

Screenshot

Installation

  1. Clone the Repository:

    git clone https://github.com/balaji-sivasakthi/leadgen-widget.git
    
    npm run build
    
  2. Include CSS and JavaScript Files:

    <link rel="stylesheet" href="leadgen-widget/css/leadgen-widget.css">
    <script src="leadgen-widget/js/leadgen-widget.js"></script>
    
  3. Initialize the Widget:

    <script>
     document.addEventListener("DOMContentLoaded", function () {
       // Initialize LeadGen Widget
       new LeadGenWidget({
         callbackUrl: 'http://example.com/form-data'
       });
     });
    </script>
    

Example

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./../src//assets//css/style.css" />
  </head>
  <body>

    <script type="module" src="./main.js"></script>
    <script>
        document.addEventListener("DOMContentLoaded", function () {
          // Initialize LeadGen Widget
          new LeadGenWidget({
            callbackUrl: 'http://example.com/form-data'
          });
        });
     </script>
  </body>
</html>

License

LeadGen Widget is licensed under the MIT License.


Thank you for using LeadGen Widget! If you encounter any issues or have suggestions, please open an issue on our GitHub repository.