JS SDK - Critical Functions

These are the most important components of any Javascript integration.

$p("init")
The $p("init") function acts as the 'start button' for all other LiftIgniter SDK functions. It must be invoked first in order to use the...
Tue, 4 Jun, 2019 at 2:46 PM
$p("register")
The register function defines the recommendation queries that will be sent to LiftIgniter's model server. You can register multiple widgets before runn...
Tue, 4 Jun, 2019 at 2:51 PM
$p("fetch")
The Fetch function is used in conjunction with $p("register") and triggers all of the requests to our model servers for recommendations. You only ...
Fri, 16 Mar, 2018 at 4:29 AM
$p("render")
$p("render") takes in a Mustache.js template and the item metadata returned in our JSON response, and outputs the HTML needed for each item to be ...
Fri, 16 Mar, 2018 at 5:51 AM
$p("track")
The LiftIgniter tracking function is the most critical part of any integration, and is a significant development time saver as it automates the tracking of ...
Fri, 16 Mar, 2018 at 6:22 AM