Even Developer Documentation

Embeddable Common Loan Application

Even provides tools to generate a customizable, embeddable, full-featured loan search UX that we call the Common Loan Application. For a simpler UI, you can use the Personal Loan Search.

After creating an Even Financial partner account, one can easily customize your own Common Loan Application and embed it on your site via a simple JavaScript tag.

(1) Customize Your Common Loan Application

(2) Copy the embed tag

(3) Paste into your website’s HTML

(4) You now have your own Common Loan Application just like below:

(5) Add your tag to the URL where the application sits so you can track performance

We allow our partners to pass through an alphanumeric identifier that we can pass back in our reporting. This will allow you to measure performance and optimize your audiences.

Setting this up is a very straightforward process. All you have to do is add ?tag.subid=[YOURID] to the URL you are using.

For example, if your URL is:

https://www.abccompany.com

then you would update your URL to be

https://www.abccompany.com/?tag.subid=[YOURID]

(6) Activate call-back functionality based on Common Loan Application events.

When certain events happen inside the Common Loan Application, it can trigger call-back functions on your page. These events include:

Event Type Description
_even_lead_submitted The user has submitted a completed lead.
_even_ratetable_rendered Offers have been loaded (no more pending originators).
_even_preapproved_offers_rendered One or more pre-approved offer has been rendered.
_even_loan_offer_clicked The user has clicked on a loan offer.
_even_special_offer_clicked The user has clicked on a special offer.

Registering Event Listeners

To trigger Javascript functions in response to these events, register event listeners using the bindClaEventListener function in the Even object:

window.Even.bindClaEventListener('_even_loan_offer_clicked', function(data) {
  var lead = data.lead;
  ...
});

A single event object is passed as argument to the event listener, which contains all relevant information about that event.

Parameters

The event object has the following format:

{
  type : '...',
  lead : {
    'loan_amount' : 5000,
    'purpose' : 'home_improvement',
    'credit_score' : 'good',
    'address' : {
      'state' : 'CA'
    }
  },
  ...
}

In addition to the event type and lead information, the event object also contains the following information, depending on the event type:

_even_lead_submitted

leadUuid – The UUID of the lead.

_even_ratetable_rendered

rateTableUuid – UUID for the rate table returned.
preApproved – Boolean: TRUE if rate table contains pre-approved offers.
offers – A list of UUID for the offers returned.

_even_preapproved_offers_rendered

rateTableUuid – UUID for the rate table returned.
offers – A list of UUID for the pre-approved offers returned.

_even_loan_offer_clicked

rateTableUuid – UUID for the rate table returned.
offer – The loan offer object that has been clicked.

_even_special_offer_clicked

rateTableUuid – UUID for the rate table returned.
offer – The special offer object that has been clicked.