mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-14 02:12:43 -05:00
28 lines
915 B
HTML
28 lines
915 B
HTML
<head>
|
|
<!-- <script src="./dist/index.umd.js" charset="UTF-8"></script>
|
|
<script>
|
|
window.formbricks.init("clehf2m1d0001yz5vysjpn9qf", "http://localhost:3000");
|
|
</script> -->
|
|
|
|
<script type="text/javascript">
|
|
!(function () {
|
|
var t = document.createElement("script");
|
|
(t.type = "text/javascript"),
|
|
(t.async = !0),
|
|
(t.src = "https://unpkg.com/@formbricks/js@0.1.2/dist/index.umd.js");
|
|
var e = document.getElementsByTagName("script")[0];
|
|
e.parentNode.insertBefore(t, e),
|
|
setTimeout(function () {
|
|
window.formbricks = window.js;
|
|
window.formbricks.init({
|
|
environmentId: "clfv982hs003dyzhphibui8as",
|
|
apiHost: "http://localhost:3000",
|
|
});
|
|
}, 500);
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body style="background-color: #fff">
|
|
<p>This is my sample page using the Formbricks JS javascript widget</p>
|
|
</body>
|