You can get the HTML code to embed a GoFundMe campaign widget on your website that looks like this:
To do this, just follow these steps:
- Hit the plus sign button under the campaign story next to the share buttons as seen here.
- Then select "Add an embeddable widget" and toggle your preferences.
- Copy and paste the code from the box above into your website's HTML editor.
Tip: 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.
<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>
Note: If you're using the WordPress platform, this code 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.
Beyond these suggestions, if you have trouble getting the widget to display properly, please contact your website administrator or host to get support specifically for your situation.