Skip to content

Initializing Nosto

Mridang Agarwalla edited this page Jun 4, 2019 · 2 revisions

Nosto is initialized automatically once the script has loaded. Unlike the legacy script, you do not need to manually initialize Nosto.

Disabling Autoloading

In the event that you would like to initialize Nosto but not have it automatically load the recommendations, you can set setAutoLoad to false.

  nostojs(api => api.setAutoLoad(false));

Note: you will need to manually load the recommendations when the autoloading is disabled.

Clone this wiki locally
You can’t perform that action at this time.