LeadGen Widget, an open-source, pluggable widget designed to enhance lead generation on websites.
MIT License
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.
Clone the Repository:
git clone https://github.com/balaji-sivasakthi/leadgen-widget.git
npm run build
Include CSS and JavaScript Files:
<link rel="stylesheet" href="leadgen-widget/css/leadgen-widget.css">
<script src="leadgen-widget/js/leadgen-widget.js"></script>
Initialize the Widget:
<script>
document.addEventListener("DOMContentLoaded", function () {
// Initialize LeadGen Widget
new LeadGenWidget({
callbackUrl: 'http://example.com/form-data'
});
});
</script>
<!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>
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.