Instapage

Integrating with Instapage to capture your Referrals is a simple process with only a few steps!

In Referral Rock

Before we hop over to Instapage we need to grab your Conversion Redirect URL and enter the "final destination" URL where you would like your referrals to end up after they submit your Instapage form.

  1. Click here and copy your Conversion Page URL for later use in Instapage.
  2. Scroll down and enter the URL that you wish to redirect people to after they submit your Instapage form (such as a thank-you/confirmation page) under where it says Redirect URL.

In Instapage

  1. On your Instapage form, edit the form's submit button to redirect to an outside URL. Place the URL you copied from In Referral Rock - Step 1 here.
  2. Under Settings, go to the HTML/CSS Section and in the header, enter the following script:
For guidance on locating your form field parameters please reference Step 3 on this Instapage article.
<script>
window.instapageFormSubmitSuccess = function( form )
{
// get values from form fields

var param1 = ijQuery( form ).find( 'input[name="'+ window.base64.base64_encode( 'First Name*' ) +'"]').val();
var param2 = ijQuery( form ).find( 'input[name="'+ window.base64.base64_encode( 'Email*' ) +'"]').val();
var param3 = ijQuery( form ).find( 'input[name="'+ window.base64.base64_encode( 'Company*' ) +'"]').val();

// Get the actual redirect url

var redirect_url = ijQuery( form ).find( 'input[name="redirect"]' ).val();

// Amend redirect url in form by adding fields from form

ijQuery( form ).find( 'input[name="redirect"]' ).val( redirect_url + '?&FirstName='+ param1 + '&email='+ param2 + '&company=' + param3);
}
</script>


How did we do?

Powered by HelpDocs

Powered by HelpDocs