Score Button Installation

There are currently two ways of forwarding users to FriendlyScore. The recommended option is to install a score button that, once clicked, will open a pop-up to the FriendlyScore landing page. Otherwise, you can send the users directly to our landing page through the web browser.

Score Button recommended

Installing a score button will allow borrowers to immediately start scoring with a single press of a button. This option is recommended, as it shortens the user flow and minimises the tedium for the borrower. We will perform the difficult steps for you and create the code for your score button based on your listed preferences below.

Score Button Configurator (Score Button Settings)

Please provide your app ID.
Preview: Score yourself

Full Code Example

Copy & paste the code example to your website. Adjust the value data-fs-app-id to your application ID. Optional you can add values from option table.

    <title>Your Website Title</title>

<!-- Your score button code -->
<div id="fs-widget-btn" data-fs-app-id="{ApplicationId}"></div>

<!-- Load FriendlyScore SDK for JavaScript -->
    (function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0],
        appID = d.getElementById("fs-widget-btn").getAttribute('data-fs-app-id');
    if (d.getElementById(id)) return;
    js = d.createElement(s); = id; js.src = ""+appID;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'fs-widget'));


Score Button Options

setting HTML5 Attribute desription default required
appID data-fs-app-id Your application ID - yes
borrowerID data-fs-borrower-id If you don't set attribute data-fs-borrower-id, friendlyScore will ask your user about e-mail. Otherwise use here user ID from your database - no
lang data-fs-lang Supported: en, pt-br, nl, pl, ro, es, th, hi, it en no
buttonText data-fs-button-text Change text on button Score yoursel no
buttonSize data-fs-button-size Supported: small, medium, large small no

Direct link to landing page

If you don’t want to implement a score button, you have the alternative option of sending users directly to our landing page via hyperlink.

<a href="{lang}/landing/process/{appID}/{borrowerID}">
   Click to Score yourself

URL Parameters in details

parameter desription default required
lang Supported: en, pt-br, nl, pl, ro, es, th, hi, it en no
appID This is application ID that is calculating credit scoring, see your customer panel for list of your applications - yes
borrowerID Your database user ID - no


Test your API