The instructions provided below are intended for use only if you feel comfortable with HTML and javascript. If you don't feel comfortable making these types of changes, email us at support@conjured.co and we can make the changes for you.

If your customer is already logged in, you may want to completely bypass the initial "Advocate Signup" screen, which typically looks something like this:

In order to "auto-submit" this form using the logged-in customer's name and email address, you'll need to edit your theme's code. 

Where you add the following code depends on where your have your referral program displayed. If you have your program displayed in a Shopify Page, you'll want to edit templates/page.liquid. Add the following code to the top of that file:

<script type="text/javascript">// <![CDATA[
  function conjuredReferralExternal(conjuredReferral) {
    jQuery('#conjured_referral_name').val('{{ customer.name }}');
    jQuery('#conjured_referral_email').val('{{ customer.email }}');
  }
// ]]></script>

Did this answer your question?