Skip to content

Sending customer information

Fodor Test edited this page Mar 13, 2019 · 1 revision

Use api.customer() function to send information about the current customer to Nosto. After the information is sent, current visit is updated with latest details.

Typical situation when manual update is needed if your site handles login with AJAX compared to regular implementation where login requires a page load and the following page includes customer tagging.

nostojs(function(api) {
  api.customer({ email:"jane.doe@example.com", first_name:"Jane", last_name:"Doe", marketing_permission: true });
});
Clone this wiki locally
You can’t perform that action at this time.