You can embed a styled widget that links to your GoFundMe from your website with this code!
If you have trouble getting the widget to display properly after trying these steps, please contact your website administrator or host to get support specifically for your situation.
Where can I find the GoFundMe Widget to add to my website?
Follow these steps:
- Visit your fundraiser page (not your dashboard, but instead the public fundraiser page)
- Click "Share" located above the "Donate Now" button
- Click "Embed"
- Click "Copy embed code"
For websites that don't support JavaScript tags:
If your website doesn't support JavaScript but does support other HTML tags, please use the following code instead. If your campaign URL is https://www.gofundme.com/f/my-fundraiser, for example, replace INSERTURL in the code below with the last part of your URL, my-fundraiser.
<embed height="500px" width="100%" src="https://www.gofundme.com/mvc.php?route=widgets/mediawidget&fund=INSERTURL&image=1&coinfo=1&preview=1" type="text/html"></embed>
Notes
Social Media: The widget isn't meant to be put on Facebook or Twitter, and most social media sites and comment boxes don't allow HTML embedding like this. Instead, you can just paste your campaign URL there.
Wordpress: If you're using the WordPress platform, the widget will only work if you're subscribed to their Business Plan. WordPress restricts the use of some HTML tags on their Free, Personal, and Premium Plans for security purposes. You can read more about WordPress code here.