Redirects (No JavaScript)

Referral Rock's Redirect Capture Pages allows you to capture referral conversions and/or updates by sending users to a custom Referral Rock URL after completion of the desired action. This is useful for websites that don't allow you to use JavaScript code on their site (so you cannot use our referral tracking scripts) but does allow you to pass users to an external URL after the desired action is completed. 

Redirecting users to our confirm page checks for the existence of a Referral Rock cookie and creates a new referral tied to the referring member if a cookie is found. Once the referral is captured, Referral Rock will automatically forward the user on to your desired thank you or confirmation page. If a cookie is not found, the system will not record a new referral and users will be redirected to the next page in the same fashion. In short, the confirm page gets injected in between your desired action and your desired confirmation page so that your user doesn't even know it's there.

How To Set Up Your Confirm URL for Conversions

After you login to your Referral Rock dashboard, navigate to Integrations > Setup > Conversion Tracking > Conversion Redirect. Alternatively, you can get to the conversion redirect settings page using this link

  1. First, let's set up your confirmation conversion page. This will look like the following:
  2. https://yoursitename.referralrock.com/confirm
  3. To include information to store with the referral, put a ? at the end and then add any of the following optional parameters and match them to available user information fields in your form, e-commerce, or other software. While all parameters are optional, we do highly recommend including at least some of the key parameters if they are available
  4. Key ParametersDescription
    overrideconfirmredirecturl Sets where a user is sent after referral capture
    externalidentifierSomething unique to each customer, like a customer# or order#
    firstnameThe referral's first name
    lastname  The referral's last name
    fullnameThe referral's full name, separated by spaces
    emailThe referral's email address
    amountThe referral's order or purchase amount
    You can also add the following additional parameters:
    companyname
    - company name 
    referralcode - Can set to a member referral code, you can set to “TESTID” for testing
    phone - Passed as customer’s phone number
    note - Passed as any note or other information you want to see tied to the Referral
    publicnote - Passed as any note that you want to be publicly tied to the Referral
    preferredcontact - Passed as the customer’s selected preferred contact method
    customoption1name - Passed as a custom option 1 name
    customoption2name - Passed as a custom option 2 name
    customtext1name - Passed as a custom text 1 name
    customtext2name - Passed as a custom text 2 name
    customtext3name - Passed as a custom text 3 name
    customoption1value - Passed as a custom value tied to customoption1name
    customoption2value
    - Passed as a custom value tied to customoption2name
    customtext1value
    - Passed as a custom value tied to customtext1name
    customtext2value
    - Passed as a custom value tied to customtext2name
    customtext3value - Passed as a custom value tied to customtext3name
  5. Your link should look something like the following, with placeholders matching your form, e-commerce, or other software's placeholders, if available.
  6. https://yoursitename.referralrock.com/confirm?overrideconfirmredirecturl=yourthankyoupage.com&fullname=placeholder&email=placeholder
  7. Now that you have your custom confirm URL with parameters, you will need to find where to paste it on your site so that users are redirected after they complete your desired action. Most services refer to this as a 'redirect after submit URL', 'redirect after purchase URL', or similar.

Setting Up Your Redirect URL After Confirm

As discussed above, Referral Rock sends users on to anywhere you want after their information is captured as a referral. This redirect happens almost instantaneously and users simply see a blank page for a split second before ending up on your thank you page, confirm page, home page, or anywhere else you would like them to go. If you included the overrideconfirmredirecturl paramter in your confirm URL above, users will be directed to that URL. However, you can set a sitewide redirect URL that will work for all of your programs.

To set up your sitewide redirect URL, scroll down to the Redirect URL box in the Conversion Redirect settings (link here). Add your desired redirect URL to the box. Keep in mind that the overrideconfirmredirecturl parameter in the confirm URL, if used, will always override the redirect URL entered in this box.

Note that you can also add Referral Merge Tags from referral rock so that you can pass referral information on to your final redirect URL. If you want to pass information through the confirm page and onto the final page for everyone, it's better to use the overrideconfirmredirecturl parameter and add the desired information onto the end of the URL in that parameter.

How To Set Up Your Confirm URL for Updates

After you login to your Referral Rock dashboard, navigate to Integrations > Setup > Referral Update > Referral Update Redirect/Postback. Alternatively, you can get to the page using this link

  1. First, let's set up your confirmation conversion page. This will look like the following:
  2. https://yoursitename.referralrock.com/referralupdate
  3. To include information to store with the referral, put a ? at the end and then add any of the following optional parameters and match them to available user information fields in your form, e-commerce, or other software. While all parameters are optional, we do highly recommend including at least some of the key parameters if they are available
  4. Key ParametersDescription
    redirecturlREQUIRED. Sets where a user is sent after referral update
    referralkey_emailREQUIRED (or use referralkey_externalID) If referrals have associated email addresses, you can use their email address to search for the correct referral to update
    referralkey_externalidREQUIRED (or use referralkey_email) If referrals have associated external ID from your system, you can use this id to search for the correct referral to update
    statusSets the status of the referral. Can be set to "qualified", "approved", or "denied". Generally hard coded into the script.
    amountIf you want to pass back a purchase amount, you can do so with this parameter. Rewards that are calculated as a % of referral amount require the amount field to be passed back.
    You can also add the following additional parameters:
    firstname 
    - Referral's first name. Updates the existing name if already set
    lastname - Referral's last name. Updates the existing last name if already set
    companyname - Referral's company name. Updates the existing company name if already set
    phone - Referral's phone number. 
    note - Passed as any note or other information you want to see tied to the Referral 
    publicnote - Passed as any note that you want to be publicly tied to the Referral 
    preferredcontact - Passed as the customer’s selected preferred contact method 
    customoption1name - Passed as a custom option 1 name 
    customoption2name - Passed as a custom option 2 name 
    customtext1name - Passed as a custom text 1 name 
    customtext2name - Passed as a custom text 2 name 
    customtext3name - Passed as a custom text 3 name 
    customoption1value - Passed as a custom value tied to customoption1name 
    customoption2value 
    - Passed as a custom value tied to customoption2name 
    customtext1value 
    - Passed as a custom value tied to customtext1name 
    customtext2value 
    - Passed as a custom value tied to customtext2name 
    customtext3value - Passed as a custom value tied to customtext3name

  5. Your link should look something like the following, with placeholders matching your form, e-commerce, or other software's placeholders, if available.
  6. https://yoursitename.referralrock.com/referralupdate/?refrerallkey_email=placeholder&amount=placeholder&status=qualified&redirecturl=yourredirectsite.com
  7. Now that you have your custom referral update URL with parameters, you will need to find where to paste it on your site so that users are redirected after they complete your desired update action. Most services refer to this as a 'redirect after submit URL', 'redirect after purchase URL', or similar.



How did we do?