All GiveEasy donation pages link to a thank you page which a supporter is taken to after donating. You may want to link to an external thank you page rather than a GiveEasy thank you page. To do this all you need to do is:
- 1Create and publish your external thank you page you would like to link to and direct supporters to after donating.
- 2Log in to the GiveEasy platform and navigate to My Thank You Pages > Manage Thank You Pages.
- 3Click ‘Create New Page’
![Create New Thank You Page Create New Thank You Page](http://staging.giveeasy.org/wp-content/uploads/2023/06/Manage-Thank-You-Pages-e1687824355151.png)
- 4Set a name for this new thank you page. For example, “External”.
![Name Thank You Page Name Thank You Page](http://staging.giveeasy.org/wp-content/uploads/2023/06/Screen-Shot-2023-06-22-at-1.48.58-pm.png)
- 5Once in the thank you page editor click the “Manage Tracking Script” button
![Manage Tracking Script Manage Tracking Script](http://staging.giveeasy.org/wp-content/uploads/2023/06/Thank-You-Page-Editor-e1687824221640.png)
- 6Copy and paste the following script:
<script>
const thankYouPage = 'REPLACE WITH YOUR EXTERNAL THANK YOU PAGE URL'
if(!window.location.href.includes("portal.giveeasy.org"))
{
var urlParams = new URLSearchParams(window.location.search);
var givingRefId = urlParams.get('refid') || '';
var amount = urlParams.get('amount') || '';
var redirect = thankYouPage + '?refid=' + givingRefId + '&amount=' + amount;
window.location.href = redirect;
}
</script>
- 7Add your external page URL in where it says REPLACE WITH YOUR EXTERNAL THANK YOU PAGE URL. Please ensure you add this between the single quote marks. For example ‘https://www.examplecharity.org.au/thankyou'
- 8Close the tracking script box. Your changes will automatically be saved.
![Add tracking script Add tracking script](http://staging.giveeasy.org/wp-content/uploads/2023/06/Thank-You-Page-Editor-2-e1687824304416.png)
- 9Click the ‘Publish to Live’ button
- 10Go to My Appeals > Manage Appeals and set this new page as the thank you page for the relevant donation page.
![Link Thank You Page Link Thank You Page](http://staging.giveeasy.org/wp-content/uploads/2023/06/Screen-Shot-2023-06-27-at-10.02.34-am.png)
The GiveEasy donation page will now redirect donors to your external thank you page.