All Collections
Advanced FAQs
How to add eCards to DonorPerfect
How to add eCards to DonorPerfect

Custom eCards for Donors After Giving

Tim Badolato avatar
Written by Tim Badolato
Updated over a week ago

You can use eCardWidget to create custom eCards for donors to send after they make a donation. This article will walk you through how to embed the eCardWidget into your DonorPerfect giving flow.

Q 83RrpfwV

Yes, you can add your eCardWidget to your DonorPerfect giving flow.

Steps to Embed eCardWidget into the DonorPerfect Form

To add this to your DonorPerfect form, follow the steps outlined below:


Note: This only works with the Classic Theme. If you want to add your widget to the new theme, please contact DonorPerfect and have them add support for adding <script> tags to the Thank You Page builder. Alternatively you can add a link and maybe a call to action image to the Thank You Page linking over to the widget page we host.

To add it to your Classic Theme:

1. Go to your widget share code page and copy the url, underlined in the screenshot below:

JNuG8d1AAI

2. Then copy the following code and edit ” your_embed_url = ‘…’ ” and paste in that URL you copied to replace PASTE_HERE – It should then look like this:

​<script>
your_embed_url = 'PASTE_HERE';
document.addEventListener('DOMContentLoaded', function() {
if (window.location.href.indexOf("response=1") > -1) {
var t = document.querySelector('#pnlHeader');
if (t) {
var a = document.createElement("script");
a.src = your_embed_url;
t.appendChild(a);
}
}
});
</script>

3. Edit the form you want to add eCard(s) and go to Additional Options then Advanced Settings. Then paste your code into the ‘Google Analytics Code’ field.

kvQC za vq scaled

4. Then click save.

5. Then do a test to confirm that the ecard shows up on the Thank You/Order Completion page.

6. That’s it! You now have fully customized easy to send eCards embedded into your DonorPerfect form.

If you have any issues or get stuck, just shoot us a message and we’ll be happy to help.

If you’re new to eCardWidget and would like to know more, just check out our site at eCardWidget.com

If you have any issues or need help, please get in touch with us and we’ll be happy to assist. To learn more about eCardWidget, visit our site at eCardWidget.com.

Did this answer your question?