When a new visitor submits a form on my site, can I only add them as a new participant if they were referred?

When someone visits your site (either directly or via referral link), GrowSurf needs to register their email into your campaign by adding them as a new participant. If they were referred, GrowSurf associates them with their referrer, and their referrer will immediately receive credit.

Every person who submits your site's form will be added as a new participant (and not just the people who followed a unique link from a referrer).

To prevent this, and limit people added as new participants to only individuals who were referred, you will need to check the box next to "Only add new participants if they were referred" (Campaign Editor > Installation > Choose forms from your site to automatically track).

As an alternative, you can also use the GrowSurf JavaScript Web API for adding new participants. View this tutorial, or view the steps below:

  1. In the Campaign Editor > Installation > Choose how to add participants to your campaign step, select Programmatically using the GrowSurf API
  2. Use the growsurf.getReferrerId() method to detect if a visitor used a unique referral link to visit your webpage.
    1. If the method returns a value:
      1. If your referral trigger is Signup Event, then call growsurf.triggerReferral(). This will add the participant and trigger the referral, and the referrer will receive credit.
      2. If your referral trigger is Custom Event, then call growsurf.addParticipant(). This will add the participant and associate the referrer to the new participant.
    2. If the method returns null, then do nothing
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.