When To Use This
Install the script before using embedded forms, overlays, Add to Cart, Supporter List, Fundraising Bar, Fundraising Flag, or other website elements on your organization's site.
Hosted pages do not need the script because CharityStack serves them. QR codes and prefilled links also do not need the script unless they point to an embedded experience on your website.
Before You Start
- You need access to edit your website or website builder.
- You need access to Settings in CharityStack.
- Your website should support custom code or script installation.
- Save your website URL in
Settings → Organizationbefore testing overlays or other website-based experiences.
Steps
- Go to
Settings → Embed. - Copy the embed code. It belongs in your site's
<head>section. - Under
Install on your website, choose your platform: WordPress, Squarespace, Wix, Shopify, Webflow, GoDaddy, GTM, or Other. Follow the steps shown for that platform. - If someone else will install it, choose
AI BuilderorDeveloperunderOther ways to installand copy the instructions for them. - Publish the website change.
- Under
Verify installation, enter the page URL where you added the script and selectVerify. - After the script is installed, add the form or element code for the experience you want to show.
Notes
Most websites need the script once, in the site template, global header, or site-wide custom code area. Each embedded form or element still has its own code, which goes where that experience should appear on the page.
Avoid installing duplicate copies of the script on the same page. Duplicate scripts make embedded elements harder to troubleshoot.
Website builders handle custom code differently. If verification fails, confirm that the script was published, the page URL is public, and your website plan allows custom scripts.
If a form or element still does not appear after verification succeeds, confirm its code was copied from the correct active form or element.
Troubleshooting
- If
Verify installationcannot find the script, confirm the script is on the same URL you entered. - If the page was just published, wait a few minutes and verify again.
- If your website uses caching, clear the cache or publish the page again.
- If an embedded experience is blank, confirm both the script and the element code are on the page.
- If the website editor strips scripts, ask your website Admin or developer to add the script through the site's approved custom code area.
You can return to Settings → Embed whenever you need the script. The Home setup checklist also links to it under Install website script.
