How to Add Social Media Share Buttons to Your Donation Receipt

Encouraging your donors to share their support on social media is a great way to extend your reach and attract new supporters. With a simple share button, your donors can amplify your mission and invite their networks to get involved.

Creating Share Buttons for Social Media

Below are step-by-step instructions for generating share buttons using either the official tools from each platform or simple custom links you can copy and paste.


🐦 X (formerly Twitter)

Option 1: Use the Official Share Button Generator

  1. Visit https://publish.x.com/

  2. Select “X (Twitter) Buttons”, then choose “Share Button”

  3. Customize your message (e.g., “I just donated to @YourOrg! Join me → [Your URL]”)

  4. Click Copy Code

  5. Save the code for pasting into your donation receipt (see instructions below)

Option 2: Manual Share Link (Text or Image)

 
<a href="https://twitter.com/intent/tweet?text=I%20just%20donated%20to%20@YourOrg!%20Join%20me:%20https%3A%2F%2Fyourdonationpage.org" target="_blank">
Share your gift on X!
</a>

Or with an image icon:

 
<a href="https://twitter.com/intent/tweet?text=I%20just%20donated%20to%20@YourOrg!%20Join%20me:%20https%3A%2F%2Fyourdonationpage.org" target="_blank">
<img src="https://yourwebsite.org/x-icon.png" alt="Share on X" />
</a>

Tip: Always URL-encode special characters in your share text.


📘 Facebook

Option 1: Use the Facebook Share Button Generator

  1. Go to https://developers.facebook.com/docs/plugins/share-button

  2. Enter your campaign or donation page URL

  3. Choose a button layout

  4. Click Get Code and copy the HTML snippet

Option 2: Custom Link or Image

 
<a href="https://www.facebook.com/share.php?u=https://yourdonationpage.org" target="_blank">
Share on Facebook
</a>

Or with an icon:

 
<a href="https://www.facebook.com/share.php?u=https://yourdonationpage.org" target="_blank">
<img src="https://yourwebsite.org/facebook-icon.png" alt="Share on Facebook" />
</a>

💼 LinkedIn

Option 1: Use the LinkedIn Plugin Generator

  1. Visit https://www.linkedin.com/pulse/tools

  2. Enter your URL and customize settings

  3. Click Get Code and copy the HTML

Option 2: Manual Link

 
<a href="https://www.linkedin.com/shareArticle?mini=true&url=https://yourdonationpage.org" target="_blank">
Share on LinkedIn
</a>

Or with an icon:

 
<a href="https://www.linkedin.com/shareArticle?mini=true&url=https://yourdonationpage.org" target="_blank">
<img src="https://yourwebsite.org/linkedin-icon.png" alt="Share on LinkedIn" />
</a>

📩 Adding Social Share Buttons to Your Donately Donation Receipt

Now that you have your share button code, here’s how to add it to your donation receipt email in Donately.

🔧 Steps to Add Buttons in Your Receipt:

  1. Go to your Donately dashboard

  2. Navigate to:
    Account Settings → Email Settings → Donation Receipt

  3. Scroll to the message body

  4. Paste your social share code where you'd like it to appear—typically after your thank-you message and donation summary

  5. Save your changes

  6. Send a test email to ensure it displays properly across inboxes

📝 Example Snippet:

 
<p>Thank you again for your generous support!</p>
<p>Want to help spread the word? Share your donation:</p>

<a href="https://www.facebook.com/share.php?u=https://yourdonationpage.org" target="_blank">Facebook</a> |
<a href="https://twitter.com/intent/tweet?text=I%20just%20donated%20to%20@YourOrg!%20https%3A%2F%2Fyourdonationpage.org" target="_blank">X</a> |
<a href="https://www.linkedin.com/shareArticle?mini=true&url=https://yourdonationpage.org" target="_blank">LinkedIn</a>

 

Need help crafting your message or getting it to look right in your receipt?
📬 Reach out to our team via live chat or email—we’re happy to help!