To complete this process, you must have access to your website source code, be relatively comfortable with HTML (or have a developer that can help you).

To install Friendbuy, a few snippets of code will need to be installed on your website. This code will allow you to place both Friendbuy referral and email capture widgets on your website. It will also keep track of any conversions that come in through your referral program. There are two mandatory snippets of code that need to be installed:

SmartPixel Installation:

To get up-and-running, you’ll first need to place our SmartPixel on your site. Our SmartPixel is a snippet of JavaScript that enables widget functionality as well as conversion tracking.

  1. Log into your Friendbuy dashboard.
  2. In the left hand navigation menu, click on Settings > Integration Code.
  3. Include the SmartPixel on every page of your website. For most web sites, this is accomplished by copying the code and pasting the SmartPixel once, immediately after your opening <head> tag, which should then make the SmartPixel available across all pages (secure & non-secure). If you are sending this to your developer, we recommend that you include instructions to insure that the SmartPixel is installed properly.
  4. Optionally, you can configure the JavaScript to pass additional information to Friendbuy for increased widget functionality.

Conversion Tracker Installation:

Conversions are completed transactions as the result of a referral (a friend makes a purchase). The most common conversion event is the purchase of a product.

  1. Log into your dashboard.
  2. In the left hand navigation menu, click on Settings > Integration Code.
  3. You should include the conversion tracking script on your conversion event page (most commonly, the Order Confirmation page). Copy the code and paste it between your opening <head> tags, just under the SmartPixel code.
  4. Configure the "ID" parameter in the JavaScript so that a unique value is provided to Friendbuy for every conversion - a common example of this is an Order Number or Transaction ID. If your conversion event is something other than a purchase (ex. sign ups, registrations), you can pass a variable that provides us with a unique value for that event, such as a Sign Up ID.
  5. You can also pass additional information to us through the other parameters of the Conversion Tracker - the more information you provide to us, the more information will appear in your Friendbuy reports.
Did this answer your question?