-
-
Notifications
You must be signed in to change notification settings - Fork 8
Deploy to Squarespace
Mark Ulrich edited this page Jul 27, 2023
·
6 revisions
To complete Step 2 for the full embed experience, you will need a paid Squarespace account that allows custom Javascript (Business tier or higher).
- Determine your donate URL. It will be in this format:
https://www.every.org/<your nonprofit slug>#/donate
.- For example,
https://www.every.org/maps#/donate
is the donation link for theMAPS
nonprofit. If you visit that URL, it will open a page where you can support MAPS.
- For example,
- Log into Squarespace and go to the Dashboard.
- Select your site
- Go to
Pages
- Click on the page you want to add a donate button to.
- Click on
Edit
on the left corner of the page - Add a button on your page.
- Set the web address to the donate URL above.
- Click on the
Done > Save
button to make the donate link live.
Now, if you click the button you created, it will take you to your nonprofit's Every.org profile, with the donate modal open.
The next step will be to make the button open donate flow without leaving your website.
- Go back to the Squarespace dashboard.
- Select your site
- Go to
Settings > Advanced > Code Injection
- Edit the following code snippet to
Head
textfield:
<script async defer src="https://embeds.every.org/0.4/button.js"></script>