All Collections
Popups
Get Started
Sending Customer Information via Nosto Javascript API
Sending Customer Information via Nosto Javascript API

Identifying prospects via their email address. Sending Customer info via Nosto JS API

Lari Lehtonen avatar
Written by Lari Lehtonen
Updated over a week ago

Identifying prospects via email addresses as soon as they land on an online store for the first time enables retailers to send powerful personalized email campaigns. This will help convert them faster and at lower costs.

Besides the regular sign up forms online stores provide, there are many ways to identify prospects and enrich email lists (e. g. through behavioral pop-ups or using custom blog and/or newsletter sign up forms). We will focus on the latter in this article and explore below how to send emails as soon as visitors input their email addresses in a newsletter sign up form.

ASOS acquiring email addresses straight on landing on Front Page.

As soon as a user input his email address, it can be sent via Javascript to Nosto, respecting the following structure:

nostojs(function(api) {
  api.customer({ email: "jane.doe@example.com" });
});

Pro tip: You can also trigger the call as soon as the targeted object loses the focus via an onblur event. It means that an email address can be sent as soon as the user has input his email and leave the input field. This would allow you to capture more email addresses since some users don’t complete the sign up form and bounce before submitting their data.

Users abandoning registration

If you collect Name and Surname, you can send such information as well as part of the call:

nostojs(function(api) {
  api.customer({ email: "jane.doe@example.com", first_name: "Jane", last_name: "Doe" });
});

You can find further technical guidelines here.

Note: For users using a store regular log in form, If Nosto has been installed through one of the Nosto plugins, users are identified automatically when they log in via the regular form. For custom platforms, once the Nosto Customer Information tagging is applied to all page type, Nosto track email addresses automatically and no further development is needed.

Did this answer your question?