Files
formbricks-formbricks/packages/js/app.html
Matti Nannt 8ea6016cf5 Sync surveys and events with formbricks-js automatically (#537)
* add first part of sync service

* add actionClasses to js sync

* fix errors, add product to sync

* rewrite formbricks-js for new states and types

* fix tests

* fix build errors

* add cors

* fix cors errors and other bugs

* comment test in checks until working again
2023-07-13 00:49:58 +02:00

27 lines
886 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 = "/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: "clhkhwyc60003yz5rpgsgrebq",
apiHost: "http://localhost:3000",
debug: true,
});
}, 500);
})();
</script>
</head>
<body style="background-color: #fff">
<p>This is my sample page using the Formbricks JS javascript widget</p>
</body>