Integration
The Philantro platform is designed to enable you to collect online donations, provide donor self-service, peer fundraising and event ticketing directly on your website. This approach ensures your nonprofit's brand is forefront at all times and helps foster trust and a frictionless conversion.
To achieve this seamless integration, Philantro needs to be able to communicate with your website. The following integration enables this constant feedback loop so that when you add donation campaigns etc in Philantro, your donors see those campaigns on your website.
How helpful was this article?
On line 7 in the code snippet below, replace "XXXXXXXXX" with your Philantro Organization ID.
Add the following code snippet to your website's footer, right before the closing body tag. This is the most effective way to integrate Philantro. This snippet is how Philantro and your website communicate with one another.
- <script>
- (function() {
- const s = document.createElement('script');
- const ph = document.getElementsByTagName('script')[0];
- s.type = 'text/javascript'; s.async = true;
- s.src = 'https://philantro.s3.amazonaws.com/pdf/philantro.js';
- window.options = {OID: ''};
- ph.parentNode.insertBefore(s, ph);
- })();
- </script>
Contact Support about this Topic
On Line 1 of the code snippets below, replace "WEBSITE" with your website address.
With the following link, you can add a donate call-to-action to your navigation menu as well as use it to solicit donations via email, articles and blog content.
- Replace WEBSITE with your website address
- #_givealways
- Prefilled-Amount Example
- If you wanted the modal donation form to open with 100 (your local currency)
- #_givealways?pha=100
- Prefilled-Recurring Example
- If you wanted the modal donation form to open with monthly recurring by default
- 2 = Weekly, 3 = Monthly, 4 = Annually
- #_givealways?phf=3
- Link Example
- If your website address was https://www.philantro.org
- https://www.philantro.org#_givealways
Live Example Pre-Filled Amount Example
Contact Support about this Topic
On Line 1 of the code snippets below, replace "WEBSITE" with your website address.
The following link will create the standard donor login button to allow your supporters to manage their profile information, communication consent, contribution history, peer fundraisers, recurring donations etc.
- Replace WEBSITE with your website address
- #_donorstandard
- Link Example
- If your website address was https://www.philantro.org
- https://www.philantro.org#_donorstandard
Live Example
Contact Support about this Topic
On Line 1 of the code snippets below, replace "WEBSITE" with your website address.
Use the following link to trigger a Peer Fundraiser registration allowing your supporters to create Peer Fundraisers.
- Replace WEBSITE with your website address
- #_fundraise
- Link Example
- If your website address was https://www.philantro.org
- https://www.philantro.org#_fundraise
Live Example Fundraiser Example
Contact Support about this Topic