Platform How Tos & Tutorials  |   How To Link To An External Thank You Page

How To Link To An External Thank You Page

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:

  1. 1
    Create and publish your external thank you page you would like to link to and direct supporters to after donating.
  2. 2
    Log in to the GiveEasy platform and navigate to My Thank You Pages > Manage Thank You Pages.
  3. 3
    Click ‘Create New Page’
Create New Thank You Page
  1. 4
    Set a name for this new thank you page. For example, “External”.
Name Thank You Page
  1. 5
    Once in the thank you page editor click the “Manage Tracking Script” button
Manage Tracking Script
  1. 6
    Copy 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>

  1. 7
    Add 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'
  2. 8
    Close the tracking script box. Your changes will automatically be saved.
Add tracking script
  1. 9
    Click the ‘Publish to Live’ button
  2. 10
    Go to My Appeals > Manage Appeals and set this new page as the thank you page for the relevant donation page. 
Link Thank You Page

The GiveEasy donation page will now redirect donors to your external thank you page.