JS SDK - Additional Functions

These functions are useful in a variety of integrations and special use-cases, or provide alternative methods for configuring how recommendations are set up.

$p("setUserId")
Depending on how you integrate LiftIgniter, you may want to manually set the user identifier to a form that you can recognize. For example, if you are using...
Tue, 6 Aug, 2019 at 12:58 PM
$p("sendItem")
$p("sendItem") allows you to populate all of the metadata you'd like us to have for a page in a single place. When triggered, it will create ...
Tue, 27 Mar, 2018 at 8:04 PM
$p("setNoTag")
This can be used to configure whether LiftIgniter's tags are added to URLs in items recommended by LiftIgniter. By default, (non-UTM) LiftIgniter tags ...
Tue, 27 Mar, 2018 at 8:27 PM
$p("resetPageview")
This function should only be used if the "pushStateReset" solution outlined for Single Page Web Apps is not working (i.e. if your site uses someth...
Tue, 27 Mar, 2018 at 8:43 PM