mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-26 03:35:38 -05:00
update docs
This commit is contained in:
@@ -31,15 +31,15 @@ export default function FeedbackButton() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Script src="https://cdn.jsdelivr.net/npm/@formbricks/feedback@0.2.1/dist/index.umd.js" defer />
|
||||
<Script src="https://cdn.jsdelivr.net/npm/@formbricks/feedback@0.3/dist/index.umd.js" defer />
|
||||
|
||||
<Script id="feedback-setup">{`
|
||||
window.formbricks = {
|
||||
...window.formbricks,
|
||||
config: {
|
||||
hqUrl: "https://app.formbricks.com",
|
||||
formId: "cldipnvz80002le0ha2a3zhgl",
|
||||
divId: "formbricks-feedback-wrapper",
|
||||
formbricksUrl: "https://app.formbricks.com",
|
||||
formId: "cle2pg7no0000nu0hjefwy3w7",
|
||||
containerId: "formbricks-feedback-wrapper",
|
||||
contact: {
|
||||
name: "Matti",
|
||||
position: "Co-Founder",
|
||||
|
||||
@@ -12,8 +12,8 @@ export function FeedbackButton() {
|
||||
window.formbricks = {
|
||||
...window.formbricks,
|
||||
config: {
|
||||
hqUrl: process.env.NEXT_PUBLIC_FORMBRICKS_URL,
|
||||
formId: process.env.NEXT_PUBLIC_FORMBRICKS_FORM_ID,
|
||||
formbricksUrl: "https://app.formbricks.com",
|
||||
formId: "cle2pg7no0000nu0hjefwy3w7",
|
||||
contact: {
|
||||
name: "Matti",
|
||||
position: "Co-Founder",
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import clsx from "clsx";
|
||||
import { useEffect } from "react";
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
@@ -13,7 +12,7 @@ export default function PmfDummy() {
|
||||
...window.formbricksPmf,
|
||||
config: {
|
||||
formbricksUrl: "https://app.formbricks.com",
|
||||
formId: "cldetkpre0000nr0hku986hio",
|
||||
formId: "cle2plrty0002nu0hqt83bi8q",
|
||||
containerId: "formbricks",
|
||||
customer: {
|
||||
id: "blog@formbricks.com",
|
||||
|
||||
@@ -68,7 +68,7 @@ Embed the following Product-Market Fit Survey script in your HTML `<head>` tag.
|
||||
Replace the `formId` with survey Id from the Formbricks dashboard:
|
||||
|
||||
```tsx
|
||||
<script src="https://cdn.jsdelivr.net/npm/@formbricks/pmf@0.0.9" defer></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@formbricks/pmf@0.1" defer></script>
|
||||
|
||||
<script>
|
||||
window.formbricksPmf = {
|
||||
|
||||
@@ -7,8 +7,8 @@ export default function Demo() {
|
||||
window.formbricks = {
|
||||
...window.formbricks,
|
||||
config: {
|
||||
hqUrl: process.env.NEXT_PUBLIC_FORMBRICKS_URL,
|
||||
formId: process.env.NEXT_PUBLIC_FORMBRICKS_FORM_ID,
|
||||
hqUrl: "https://app.formbricks.com",
|
||||
formId: "cle2pg7no0000nu0hjefwy3w7",
|
||||
containerId: "formbricks-container",
|
||||
contact: {
|
||||
name: "Matti",
|
||||
|
||||
Reference in New Issue
Block a user