Jump to content

Adding a CAF donation widget onto page

Recommended Posts

Site URL: https://abneypark.org/donations

Hi, I'm trying to add a CAF donation widget onto a page on my squarespace site (https://abneypark.org/donations). This is the code generated that I'm supposed to be able to embed on the page - but it doesn't display:

<div id="CAFDonateWidgetContainer"></div>
<script type="text/javascript">
var caf_BeneficiaryCampaignId=12443;
document.write(unescape('%3Cscript id="CAFDonateWidgetLoader_script" src="https://cafdonate.cafonline.org/js/CAF.DonateWidgetLoader_script.js" type="text/javascript"%3E%3C/script%3E'));

Do I need to do anything to this for a Squarespace page to accept the code?

Link to comment
  • Replies 2
  • Views 550
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.