How to get referrer ID

Each affiliate can generate possible visits and purchases on your site every day.
The refer ID which allows associating the user to the affiliate can be recovered in two different ways:

  • through query string: the user reaches your site through a URL that includes a query string with the affiliate’s refer ID. This is a possible example:
    The ref variable can be changed freely by the administrators of the site from the plugin settings panel with the “Referral var name” option.

referrer id settings

  • through checkout form: a specific form is inserted in the checkout page. This form allows the user to insert the code of the affiliate who led him/her to the site. You can see an example below:

Insert at checkout