Embed the CrowdChange donation form on your site to accept donations inline or in a popup, with customizable colors, language, and layout.
The donation-form widget embeds a fully functional CrowdChange donation form on your website. It can render inline within the page or open as a popup triggered by your own button or link, and it supports a compact basic layout as well as the full layout.New to widgets? Start with the Widgets Overview to add the embed script.
Replace fundraiser with your fundraiser ID from Step 1 of the overview.
For inline embeds, you can supply your own placeholder by nesting an element marked with data-crowdchange-loading="true" inside the <crowdchange> element. It is shown until the form finishes loading.
Use icon-confirmation to change the icon displayed on the thank-you screen and icon-confirmation-color to set its color.Any Google Material Icons can be used for icon-confirmation value.Example:Using orangestar icon:
Apple Pay is available on donation forms. To display the Apple Pay button, Apple requires that every domain where the donation form is used be registered. This includes top-level domains (example.com) and subdomains (donate.example.com). Note, www is a regular domain that must be registered as well.If your donation form is embedded on multiple websites, domains, or subdomains, each one must be registered before Apple Pay will appear.To enable Apple Pay, please contact your Account Manager or email support@crowdchange.co with the complete list of domains where your donation forms are hosted.
Last modified on August 4, 2026
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"CrowdChange API","description":"API documentation for the CrowdChange fundraising platform.","colors":{"primary":"#1156a0","light":"#4a90c8","dark":"#0d4577"},"logo":{"light":"https://cdn.crowdchange.dev/img/logo/wide-v2.svg","dark":"https://cdn.crowdchange.dev/img/logo/wide-v2-white.svg","href":"https://apidoc.crowdchange.dev"},"favicon":"https://cdn.crowdchange.dev/img/logo/icon-v2.png","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"key","name":"Authorization"},"server":["https://api.crowdchange.dev","https://api.crowdchange.co","https://api.crowdchange.ca"]}},"appearance":{"default":"system"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"analytics/google-analytics"},{"language":"fr-CA","href":"fr-CA/analytics/google-analytics"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"crowdchange","hasAudioNarration":false,"actualSubdomain":"crowdchange","customDomains":["apidoc.crowdchange.dev"],"gitSource":{"type":"github","owner":"crowdchange","repo":"mintlify","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adc41fcf55bf8919ffd5a07","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"en","tag":"API Reference","count":49},{"language":"fr-CA","tag":"Référence API","count":49},{"language":"en","tag":"Server Side APIs","count":31},{"language":"fr-CA","tag":"API côté serveur","count":31},{"language":"en","tag":"Client Side APIs","count":17},{"language":"fr-CA","tag":"API côté client","count":17},{"language":"en","tag":"User-Specific APIs","count":13},{"language":"fr-CA","tag":"API spécifiques à l'utilisateur","count":13},{"language":"en","tag":"Global APIs","count":12},{"language":"fr-CA","tag":"API globales","count":12},{"language":"en","tag":"Documentation","count":10},{"language":"fr-CA","tag":"Documentation","count":10},{"language":"en","tag":"Campaign-Specific APIs","count":9},{"language":"en","tag":"Webhooks","count":9},{"language":"fr-CA","tag":"API spécifiques à la campagne","count":9},{"language":"fr-CA","tag":"Webhooks","count":9},{"language":"en","tag":"Analytics \u0026 Tracking","count":6},{"language":"fr-CA","tag":"Analyse et suivi","count":6},{"language":"en","tag":"Widgets","count":4},{"language":"fr-CA","tag":"Widgets","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"widgets/donation-form-widget","slug":"/widgets/donation-form-widget","pageMetadata":{"title":"Donation Form Widget","description":"Embed the CrowdChange donation form on your site to accept donations inline or in a popup, with customizable colors, language, and layout.","icon":"wpforms","href":"/widgets/donation-form-widget"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Embed the CrowdChange donation form on your site to accept donations inline or in a popup, with customizable colors, language, and layout.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,img:`img`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,OptimizedImage,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`donation-form`}),` widget embeds a fully functional CrowdChange donation form on your website. It can render `,_jsx(_components.strong,{children:`inline`}),` within the page or open as a `,_jsx(_components.strong,{children:`popup`}),` triggered by your own button or link, and it supports a compact `,_jsx(_components.strong,{children:`basic`}),` layout as well as the `,_jsx(_components.strong,{children:`full`}),` layout.`]}),`\n`,_jsxs(_components.p,{children:[`New to widgets? Start with the `,_jsx(_components.a,{href:`/widgets/overview`,children:`Widgets Overview`}),` to add the embed script.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://files.readme.io/e965032972a5bea2c29a877978e7f2e90b4b96d28a50557a403379dd361064ab-image.png`,alt:`CrowdChange donation form widget`})}),`\n`,_jsx(Heading,{level:`2`,id:`usage-examples`,children:`Usage examples`}),`\n`,_jsx(Heading,{level:`3`,id:`inline-donation-form`,children:`Inline donation form`}),`\n`,_jsx(_components.p,{children:`Renders the donation form directly in the page flow.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`crowdchange`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` widget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"donation-form\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` fundraiser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` mode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inline\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` language`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"en\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` color-primary`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"#cc0000\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` color-background`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"#e3ae7a\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`crowdchange`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Replace `,_jsx(_components.code,{children:`fundraiser`}),` with your fundraiser ID from Step 1 of the overview.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For inline embeds, you can supply your own placeholder by nesting an element marked with `,_jsx(_components.code,{children:`data-crowdchange-loading=\"true\"`}),` inside the `,_jsx(_components.code,{children:`\u003ccrowdchange>`}),` element. It is shown until the form finishes loading.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`popup-donation-form-full-layout`,children:`Popup donation form (full layout)`}),`\n`,_jsxs(_components.p,{children:[`A popup needs a trigger — a button or link — to open it. Set `,_jsx(_components.code,{children:`target`}),` to a CSS selector that matches the trigger.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`crowdchange`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` widget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"donation-form\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` fundraiser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` mode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"popup\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` target`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\".my-donate-button\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`crowdchange`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"button\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-donate-button\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Donate Now`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`popup-donation-form-basic-layout`,children:`Popup donation form (basic layout)`}),`\n`,_jsx(_components.p,{children:`The basic layout renders a more compact form.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`crowdchange`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` widget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"donation-form\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` fundraiser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` layout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"basic\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` mode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"popup\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` target`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"#btn-donate-2\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` color-primary`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"#23990d\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`crowdchange`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"button\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"btn-donate-2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Donate Now`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`customize-or-hide-the-confirmation-icon`,children:`Customize or hide the confirmation icon`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`icon-confirmation`}),` to change the icon displayed on the thank-you screen and `,_jsx(_components.code,{children:`icon-confirmation-color`}),` to set its color.`]}),`\n`,_jsxs(_components.p,{children:[`Any `,_jsx(_components.a,{href:`https://fonts.google.com/icons`,children:`Google Material Icons`}),` can be used for `,_jsx(_components.code,{children:`icon-confirmation`}),` value.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example:`})}),`\n`,_jsxs(_components.p,{children:[`Using `,_jsx(_components.code,{children:`orange`}),` `,_jsx(_components.code,{children:`star`}),` icon:`]}),`\n`,_jsxs(Frame,{children:[_jsx(Frame,{}),_jsx(OptimizedImage,{src:`https://mintcdn.com/crowdchange/-OJJuNXxea3PvZ2Y/images/image-1.png?fit=max\u0026auto=format\u0026n=-OJJuNXxea3PvZ2Y\u0026q=85\u0026s=436d1c561ce5534f8962694acfe30431`,alt:`Image`,\"data-og-width\":`615`,width:`615`,\"data-og-height\":`615`,height:`615`,\"data-path\":`images/image-1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/crowdchange/-OJJuNXxea3PvZ2Y/images/image-1.png?w=280\u0026fit=max\u0026auto=format\u0026n=-OJJuNXxea3PvZ2Y\u0026q=85\u0026s=eba4d866ae088296e2c1c3711a782005 280w, https://mintcdn.com/crowdchange/-OJJuNXxea3PvZ2Y/images/image-1.png?w=560\u0026fit=max\u0026auto=format\u0026n=-OJJuNXxea3PvZ2Y\u0026q=85\u0026s=d787648c21c9abb4150b310f9bf69bb0 560w, https://mintcdn.com/crowdchange/-OJJuNXxea3PvZ2Y/images/image-1.png?w=840\u0026fit=max\u0026auto=format\u0026n=-OJJuNXxea3PvZ2Y\u0026q=85\u0026s=e8388e7638ec04afce1c4ca149dfff82 840w, https://mintcdn.com/crowdchange/-OJJuNXxea3PvZ2Y/images/image-1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=-OJJuNXxea3PvZ2Y\u0026q=85\u0026s=5a55b8b5f89814cc6eca2cb030429e34 1100w, https://mintcdn.com/crowdchange/-OJJuNXxea3PvZ2Y/images/image-1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=-OJJuNXxea3PvZ2Y\u0026q=85\u0026s=4c363fca7e76a06c83ef372561fc4f06 1650w, https://mintcdn.com/crowdchange/-OJJuNXxea3PvZ2Y/images/image-1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=-OJJuNXxea3PvZ2Y\u0026q=85\u0026s=1ce1d2f1d2f5e2a00859c2c047de425e 2500w`})]}),`\n`,_jsx(_components.p,{children:`Using the code below:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`crowdchange`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` widget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"donation-form\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` fundraiser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` icon-confirmation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"star\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` icon-confirmation-color`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"#e87c30\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`crowdchange`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`icon-confirmation`}),` to `,_jsx(_components.code,{children:`none`}),` to hide the confirmation icon:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`crowdchange`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` widget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"donation-form\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` fundraiser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` icon-confirmation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"none\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`crowdchange`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`supported-settings`,children:`Supported settings`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`JS Setting`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Element Attribute`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Description`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`widget`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`widget`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Widget type: `,_jsx(_components.code,{children:`donation-form`}),`.`]}),_jsx(_components.td,{style:{textAlign:`left`},children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`fundraiser`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`fundraiser`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`The ID of the fundraiser.`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`mode`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`mode`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`inline`}),` or `,_jsx(_components.code,{children:`popup`}),`.`]}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`popup`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`layout`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`layout`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`full`}),` or `,_jsx(_components.code,{children:`basic`}),`.`]}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`full`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`language`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`language`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`The language code, e.g. `,_jsx(_components.code,{children:`en`}),`, `,_jsx(_components.code,{children:`fr`}),`.`]}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`en`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`target`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`target`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`CSS selector for the element that triggers the popup.`}),_jsx(_components.td,{style:{textAlign:`left`}})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`colorPrimary`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`color-primary`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Custom primary color.`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Fundraiser’s theme.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`colorBackground`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`color-background`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Custom background color.`}),_jsx(_components.td,{style:{textAlign:`left`}})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`iconConfirmation`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`icon-confirmation`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Confirmation icon. Use `,_jsx(_components.code,{children:`none`}),` to hide.`]}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`favorite`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`iconConfirmationColor`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`icon-confirmation-color`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Confirmation icon color.`}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`#ffa0dc`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`refSource`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`ref-source`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Reference source, used only for reporting.`}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`embed`})})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`apple-pay`,children:`Apple Pay`}),`\n`,_jsxs(_components.p,{children:[`Apple Pay is available on donation forms. To display the Apple Pay button, Apple requires that every domain where the donation form is used be registered. This includes top-level domains (example.com) and subdomains (donate.example.com). Note, `,_jsx(_components.code,{children:`www`}),` is a regular domain that must be registered as well.`]}),`\n`,_jsx(_components.p,{children:`If your donation form is embedded on multiple websites, domains, or subdomains, each one must be registered before Apple Pay will appear.`}),`\n`,_jsxs(_components.p,{children:[`To enable Apple Pay, please contact your Account Manager or email `,_jsx(_components.a,{href:`mailto:support@crowdchange.co`,children:`support@crowdchange.co`}),` with the complete list of domains where your donation forms are hosted.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Donation Form Widget","description":"Embed the CrowdChange donation form on your site to accept donations inline or in a popup, with customizable colors, language, and layout.","icon":"wpforms","href":"/widgets/donation-form-widget"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Usage examples","slug":"usage-examples","depth":2,"children":[{"title":"Inline donation form","slug":"inline-donation-form","depth":3,"children":[]},{"title":"Popup donation form (full layout)","slug":"popup-donation-form-full-layout","depth":3,"children":[]},{"title":"Popup donation form (basic layout)","slug":"popup-donation-form-basic-layout","depth":3,"children":[]}]},{"title":"Customize or hide the confirmation icon","slug":"customize-or-hide-the-confirmation-icon","depth":2,"children":[]},{"title":"Supported settings","slug":"supported-settings","depth":2,"children":[]},{"title":"Apple Pay","slug":"apple-pay","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"crowdchange","siteName":"CrowdChange API","title":"Donation Form Widget - CrowdChange API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/widgets/donation-form-widget","matchLevel":0},"fr-CA":{"href":"/fr-CA/widgets/donation-form-widget","matchLevel":1}}},"lastModified":"2026-08-04T16:52:28.274Z","gitLastModified":"2026-08-04T16:51:59.000Z","originalFileLocation":"widgets/donation-form-widget.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Embed the CrowdChange donation form on your site to accept donations inline or in a popup, with customizable colors, language, and layout.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CrowdChange API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://cdn.crowdchange.dev/img/logo/icon-v2.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://cdn.crowdchange.dev/img/logo/icon-v2.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://cdn.crowdchange.dev/img/logo/icon-v2.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://cdn.crowdchange.dev/img/logo/icon-v2.png\">\u003cmeta data-mint-head property=\"og:title\" content=\"Donation Form Widget - CrowdChange API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Embed the CrowdChange donation form on your site to accept donations inline or in a popup, with customizable colors, language, and layout.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CrowdChange API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidoc.crowdchange.dev/widgets/donation-form-widget\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://crowdchange.mintlify.site/_mintlify/api/og/v2?division=Widgets\u0026amp;title=Donation+Form+Widget\u0026amp;description=Embed+the+CrowdChange+donation+form+on+your+site+to+accept+donations+inline+or+in+a+popup%2C+with+customizable+colors%2C+language%2C+and+layout.\u0026amp;theme=28e8ee3f1e7863c98d91a909\u0026amp;signature=558bbc912da6195d08f945881c01244dd620ad90f7fa86ca3afddc6812d406c3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Donation Form Widget - CrowdChange API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Embed the CrowdChange donation form on your site to accept donations inline or in a popup, with customizable colors, language, and layout.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://crowdchange.mintlify.site/_mintlify/api/og/v2?division=Widgets\u0026amp;title=Donation+Form+Widget\u0026amp;description=Embed+the+CrowdChange+donation+form+on+your+site+to+accept+donations+inline+or+in+a+popup%2C+with+customizable+colors%2C+language%2C+and+layout.\u0026amp;theme=28e8ee3f1e7863c98d91a909\u0026amp;signature=558bbc912da6195d08f945881c01244dd620ad90f7fa86ca3afddc6812d406c3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/crowdchange/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CrowdChange API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1156a0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidoc.crowdchange.dev/widgets/donation-form-widget\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/widgets/donation-form-widget.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://apidoc.crowdchange.dev/widgets/donation-form-widget\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr-CA\" href=\"https://apidoc.crowdchange.dev/fr-CA/widgets/donation-form-widget\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://apidoc.crowdchange.dev/widgets/donation-form-widget\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidoc.crowdchange.dev/#organization\",\"name\":\"CrowdChange API\",\"url\":\"https://apidoc.crowdchange.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://cdn.crowdchange.dev/img/logo/wide-v2.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidoc.crowdchange.dev#website\",\"name\":\"CrowdChange API\",\"url\":\"https://apidoc.crowdchange.dev\",\"publisher\":{\"@id\":\"https://apidoc.crowdchange.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidoc.crowdchange.dev/widgets/donation-form-widget#webpage\",\"url\":\"https://apidoc.crowdchange.dev/widgets/donation-form-widget\",\"name\":\"Donation Form Widget\",\"description\":\"Embed the CrowdChange donation form on your site to accept donations inline or in a popup, with customizable colors, language, and layout.\",\"dateModified\":\"2026-08-04T16:51:59.000Z\",\"isPartOf\":{\"@id\":\"https://apidoc.crowdchange.dev#website\"},\"breadcrumb\":{\"@id\":\"https://apidoc.crowdchange.dev/widgets/donation-form-widget#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidoc.crowdchange.dev/widgets/donation-form-widget#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Widgets\",\"item\":\"https://apidoc.crowdchange.dev/widgets/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Donation Form Widget\",\"item\":\"https://apidoc.crowdchange.dev/widgets/donation-form-widget\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://apidoc.crowdchange.dev/widgets/donation-form-widget#article\",\"headline\":\"Donation Form Widget\",\"name\":\"Donation Form Widget\",\"description\":\"Embed the CrowdChange donation form on your site to accept donations inline or in a popup, with customizable colors, language, and layout.\",\"url\":\"https://apidoc.crowdchange.dev/widgets/donation-form-widget\",\"mainEntityOfPage\":{\"@id\":\"https://apidoc.crowdchange.dev/widgets/donation-form-widget#webpage\"},\"dateModified\":\"2026-08-04T16:51:59.000Z\",\"publisher\":{\"@id\":\"https://apidoc.crowdchange.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://apidoc.crowdchange.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CrowdChange API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CrowdChange API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/widgets/donation-form-widget.md","siteName":"CrowdChange API","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","groups":[{"group":"Analytics \u0026 Tracking","pages":[{"title":"Google Analytics (GA4)","icon":"google","href":"/analytics/google-analytics"},{"title":"Google Tag Manager","icon":"google","href":"/analytics/google-tag-manager"},{"title":"Facebook Pixel","icon":"square-facebook","href":"/analytics/facebook-pixel"},{"title":"Pinterest","icon":"pinterest","href":"/analytics/pinterest"},{"title":"Reddit","icon":"square-reddit","href":"/analytics/reddit"},{"title":"TikTok","icon":"tiktok","href":"/analytics/tiktok"}]},{"group":"Widgets","pages":[{"title":"Widgets Overview","description":"Embed CrowdChange fundraising widgets on your website with a single script tag, then add donation forms, progress bars, and thermometers anywhere on the page.","icon":"wpforms","href":"/widgets/overview"},{"title":"Donation Form Widget","icon":"wpforms","href":"/widgets/donation-form-widget"},{"title":"Progress Widget","description":"Embed the CrowdChange progress widget to display a live fundraising progress bar for any campaign, team, or personal page, with customizable colors.","icon":"wpforms","href":"/widgets/progress-widget"},{"title":"Thermometer Widget","icon":"wpforms","href":"/widgets/thermometer-widget"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]}]},{"language":"fr-CA","pages":[{"title":"fr-CA","href":"/fr-CA/widgets/donation-form-widget"}]}]},"basePath":"","title":"Donation Form Widget - CrowdChange API","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["a74be98ba7","07c022d89b"],"chunks":["zoom-image-lightbox-C5F0mVLH.js","lightbox-handle-r17bVUz3.js","Frame-BXrZabKK.js","DynamicMarkdown-CtasenyM.js"]}